Skip to content

Commit 61827b2

Browse files
authored
Merge pull request kubernetes-sigs#6705 from sbueringer/pr-fix-disable-verify
🐛 fix disable verify action for cherry-pick bot
2 parents ec6825b + 405261c commit 61827b2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/verify.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
on:
22
pull_request_target:
33
types: [opened, edited, synchronize, reopened]
4-
# Don't run this check on PRs created by the cherry-pick bot,
5-
# as the PR description is too short, but otherwise the PRs are fine.
6-
branches-ignore:
7-
- k8s-infra-cherrypick-robot/**
84

95
jobs:
106
verify:
@@ -14,5 +10,8 @@ jobs:
1410
- name: Verifier action
1511
id: verifier
1612
uses: kubernetes-sigs/[email protected]
13+
# Don't run this step on PRs created by the cherry-pick bot,
14+
# as the PR description is too short, but otherwise the PRs are fine.
15+
if: ${{ github.event.pull_request.head.repo.owner.login != 'k8s-infra-cherrypick-robot' }}
1716
with:
1817
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)