mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-05 02:59:27 +02:00
ci: Skip grind workflow on fork PRs (#31717)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
6cd07e5b42
commit
780e86c838
7
.github/workflows/grind-changed-tests.yml
vendored
7
.github/workflows/grind-changed-tests.yml
vendored
|
|
@ -12,6 +12,13 @@ concurrency:
|
|||
jobs:
|
||||
grind:
|
||||
name: Grind changed editor-ui tests
|
||||
# Fork PRs get a read-only GITHUB_TOKEN, so posting the sticky comment
|
||||
# 403s regardless of the `permissions` block below. Switching to
|
||||
# `pull_request_target` would grant a write token but is unsafe here
|
||||
# because grind executes the PR's changed test files. Skip forks; if we
|
||||
# want fork coverage later, do it via a separate privileged
|
||||
# `workflow_run` workflow that picks up an artifact from this one.
|
||||
if: ${{ !github.event.pull_request.head.repo.fork }}
|
||||
runs-on: ${{ vars.RUNNER_PROVIDER == 'github' && 'ubuntu-latest' || 'blacksmith-4vcpu-ubuntu-2204' }}
|
||||
# Non-blocking: a failure here surfaces in the PR Checks tab as a soft
|
||||
# signal but never gates merge. Remove `continue-on-error` once we have
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user