Whitelist Dependabot
it looks to me that the permission action will work only for regular accounts, not bots.
This commit is contained in:
parent
c683c70d8a
commit
01f2e02a1b
1 changed files with 1 additions and 1 deletions
2
.github/workflows/trigger-gitlab.yml
vendored
2
.github/workflows/trigger-gitlab.yml
vendored
|
|
@ -30,7 +30,7 @@ jobs:
|
||||||
|
|
||||||
trigger-gitlab:
|
trigger-gitlab:
|
||||||
needs: pr-info
|
needs: pr-info
|
||||||
if: needs.pr-info.outputs.allowed_user == 'true'
|
if: needs.pr-info.outputs.allowed_user == 'true' || ${{ github.event.sender.login }} == 'dependabot[bot]'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
SCHUTZBOT_SSH_KEY: ${{ secrets.SCHUTZBOT_SSH_KEY }}
|
SCHUTZBOT_SSH_KEY: ${{ secrets.SCHUTZBOT_SSH_KEY }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue