From 01f2e02a1b3d74a2c221ce750f94bbc3f57e0e01 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Thu, 26 Aug 2021 11:21:19 +0300 Subject: [PATCH] Whitelist Dependabot it looks to me that the permission action will work only for regular accounts, not bots. --- .github/workflows/trigger-gitlab.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trigger-gitlab.yml b/.github/workflows/trigger-gitlab.yml index 2a60c3e9f..519d2be3d 100644 --- a/.github/workflows/trigger-gitlab.yml +++ b/.github/workflows/trigger-gitlab.yml @@ -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 }}