Skip to content

Commit 810a0d6

Browse files
committed
Document fork guard in workflow jobs
1 parent 4493dcd commit 810a0d6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
cloud:
2828
name: e2e k8s-${{ matrix.k3s }}
2929
runs-on: ubuntu-latest
30+
# Fork pull requests cannot access the required secrets, so only repository branches may run this job.
3031
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
3132

3233
permissions:
@@ -157,6 +158,7 @@ jobs:
157158
robot:
158159
name: e2e robot
159160
runs-on: ubuntu-latest
161+
# Fork pull requests cannot access the required secrets, so only repository branches may run this job.
160162
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
161163

162164
permissions:

0 commit comments

Comments
 (0)