1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00

chore: do not run pr update workflow if token is not defined (#5921)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2023-01-06 17:02:13 +01:00 committed by GitHub
parent d56ea86146
commit c10649fc2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,7 @@ on:
jobs:
autoupdate:
if: ${{ secrets.PR_UPDATE_TOKEN }}
permissions:
pull-requests: write
runs-on: ubuntu-latest