Whitelist Dependabot

it looks to me that the permission action will work only for regular
accounts, not bots.
This commit is contained in:
Alexander Todorov 2021-08-26 11:21:19 +03:00 committed by Alexander Todorov
parent c683c70d8a
commit 01f2e02a1b

View file

@ -30,7 +30,7 @@ jobs:
trigger-gitlab:
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
env:
SCHUTZBOT_SSH_KEY: ${{ secrets.SCHUTZBOT_SSH_KEY }}