Skip to content

Commit ddc6faf

Browse files
committed
Merge remote-tracking branch 'upstream/main' into ocavue/update-actions
2 parents 4e58f0d + 37dffc8 commit ddc6faf

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ jobs:
5454
name: Test
5555
runs-on: ubuntu-latest
5656
timeout-minutes: 20
57+
# Integration tests push to the repo, which requires a token with write
58+
# access. Fork PRs only get a read-only GITHUB_TOKEN, so skip them here
59+
# and rely on merge_group to gate the merge.
60+
if: >-
61+
github.event_name != 'pull_request' ||
62+
github.event.pull_request.head.repo.full_name == github.repository
5763
permissions:
5864
contents: write # integration tests create and push temporary branches
5965
steps:

0 commit comments

Comments
 (0)