Skip to content

Commit 2161cb2

Browse files
authored
chore: hide graphql-codegen files in PR previews (#2487)
* chore: hide graphql-codegen within PR previews Signed-off-by: Adam Setch <[email protected]> * chore: hide graphql-codegen within PR previews Signed-off-by: Adam Setch <[email protected]> --------- Signed-off-by: Adam Setch <[email protected]>
1 parent 82572b2 commit 2161cb2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.gitattributes

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# Snapshots are taken by our test suite and used to determine regressions.
2-
# We don't need to review their code in PRs, so treat them as auto-generated.
1+
# Define auto-generated file patterns to hide within GitHub's PR diff/file preview.
32
# https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github
3+
4+
# Snapshots are taken by our test suite and used to determine regressions.
45
*.snap linguist-generated=true
6+
7+
# GraphQL Codegen outputs
8+
+ src/renderer/utils/api/graphql/generated/**/*.ts linguist-generated=true

0 commit comments

Comments
 (0)