1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/.github/workflows/comment-commands.yaml
Charles-Edouard Brétéché 6cb54a475c
fix: reduce token permissions (#7721)
* fix: reduce token permissions

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

* fix: reduce token permissions

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

* fix

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

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-06-30 11:44:57 +00:00

24 lines
496 B
YAML

name: Issue and PR comment commands
permissions: {}
on:
issue_comment:
types:
- created
- edited
jobs:
execute:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: jpmcb/prow-github-actions@f4d01dd4b13f289014c23fe5a19878a2479cb35b # v1.1.3
with:
prow-commands: '/assign
/unassign
/lgtm
/milestone'
github-token: "${{ secrets.GITHUB_TOKEN }}"