1
0
Fork 0
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:
Vishal Choudhary 2024-04-03 11:28:44 +05:30 committed by GitHub
parent 32b6ca6500
commit 99b54a9f52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }}"'