From 552411408216ff158f1afc5a2cb5825ffbf1d19f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Test=C3=A9?= Date: Mon, 27 Jan 2025 12:01:30 +0100 Subject: [PATCH] chore(ci): use complete bot names on permission checks White-listed bots have '[bot]' as username suffix. --- .github/workflows/check_actor_permissions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_actor_permissions.yml b/.github/workflows/check_actor_permissions.yml index 4538da5a35..365d36acd3 100644 --- a/.github/workflows/check_actor_permissions.yml +++ b/.github/workflows/check_actor_permissions.yml @@ -30,7 +30,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.TOKEN }} - name: Check User Permission - if: (inputs.username != 'dependabot' || inputs.username != 'cla-bot') && + if: (inputs.username != 'dependabot[bot]' || inputs.username != 'cla-bot[bot]') && steps.check-access.outputs.require-result == 'false' run: | echo "${{ inputs.username }} does not have permissions on this repo."