From 15d16707a4d60fe0892c6374e29093fed112e5a5 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Mon, 29 Dec 2025 15:22:39 +1100 Subject: [PATCH 1/2] chore: hide graphql-codegen within PR previews Signed-off-by: Adam Setch --- .gitattributes | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index af717190c..b98b7272c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,9 @@ -# Snapshots are taken by our test suite and used to determine regressions. -# We don't need to review their code in PRs, so treat them as auto-generated. +# Define auto-generated file patterns to hide within GitHub's PR diff/file preview. # https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github + + +# Snapshots are taken by our test suite and used to determine regressions. *.snap linguist-generated=true + +# GraphQL Codegen outputs ++ src/renderer/utils/api/graphql/generated/**/*.ts linguist-generated=true \ No newline at end of file From 936d312fa1c918cd22207df4b4bafd9021f006f0 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Mon, 29 Dec 2025 15:23:00 +1100 Subject: [PATCH 2/2] chore: hide graphql-codegen within PR previews Signed-off-by: Adam Setch --- .gitattributes | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index b98b7272c..a196f57f1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,7 +1,6 @@ # Define auto-generated file patterns to hide within GitHub's PR diff/file preview. # https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github - # Snapshots are taken by our test suite and used to determine regressions. *.snap linguist-generated=true