diff options
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r-- | .github/workflows/release.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 10e5180cfd..179d1d47dc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,13 @@ jobs: uses: actions/github-script@v3 with: script: | - core.setFailed('Release password didn\'t match') + core.setFailed('Release password didn\'t match.') + - name: "Check if user is allowed" + if: ${{ github.actor != 'mattab' && github.actor != 'tsteur' && github.actor != 'sgiehl' && github.actor != 'justinvelluppillai' }} + uses: actions/github-script@v3 + with: + script: | + core.setFailed('User is not allowed to release.') - uses: actions/checkout@v2 with: lfs: false |