mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
fix: dependabot prs will not be checked for milestone (#9985)
Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
This commit is contained in:
parent
32b6ca6500
commit
99b54a9f52
1 changed files with 4 additions and 1 deletions
5
.github/workflows/check-milestone.yaml
vendored
5
.github/workflows/check-milestone.yaml
vendored
|
@ -16,7 +16,7 @@ concurrency:
|
|||
jobs:
|
||||
check-milestone:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.actor != 'dependabot[bot]' # exclude prs from dependabot
|
||||
if: ${{ github.actor != 'dependabot[bot]' }} # dependabot prs do not have to be in milestone
|
||||
steps:
|
||||
- name: Check milestone
|
||||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||
|
@ -32,3 +32,6 @@ jobs:
|
|||
} else {
|
||||
core.setFailed(`A milestone need to be set on this pull request.`);
|
||||
}
|
||||
- name: Debug failure
|
||||
if: failure()
|
||||
run: 'echo "GitHub Actor: ${{ github.actor }}"'
|
||||
|
|
Loading…
Add table
Reference in a new issue