ci: validate user before creating tag
we need to validate create tag action so that only authorized users can trigger that action. [skip-ci] Signed-off-by: subhamkrai <srai@redhat.com>
This commit is contained in:
1 parent
3d68f7e58a
commit
4233bb681e
1 file changed
+1
-1
@@ -14,7 +14,7 @@ defaults:
|
||||
jobs:
|
||||
Create-Tag:
|
||||
runs-on: ubuntu-18.04
|
||||
if: github.repository == 'rook/rook'
|
||||
if: github.repository == 'rook/rook' && contains(secrets.RELEASE_ADMINS, github.actor)
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
Reference in new issue
Block a user