We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1a4e40e + 2e18296 commit bafe6e4Copy full SHA for bafe6e4
1 file changed
.github/workflows/tests-pr.yml
@@ -90,7 +90,10 @@ jobs:
90
run: pnpm knip
91
92
graphql-schema:
93
- if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
+ # Skip on dependabot PRs (no access to required secrets) and on PRs opened
94
+ # from forks (also no access to secrets), but always run on merge_group
95
+ # events since merge queue runs from the base repo.
96
+ if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' && (github.event_name == 'merge_group' || github.event.pull_request.head.repo.full_name == github.repository) }}
97
name: 'Check graphql-codegen has been run'
98
runs-on: macos-latest
99
timeout-minutes: 30
0 commit comments