1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

chore: fix check milestone job (#10332)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2024-05-29 21:11:55 +02:00 committed by GitHub
parent 61969c5225
commit b2c5984845
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,6 +8,12 @@ on:
pull_request:
branches:
- 'main'
types:
- opened
- demilestoned
- milestoned
- edited
- synchronize
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@ -16,7 +22,6 @@ concurrency:
jobs:
check-milestone:
runs-on: ubuntu-latest
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,6 +37,3 @@ 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 }}"'