Skip to content

Commit

Permalink
remove gh app from users to check in check-run workflow (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeebru authored Sep 13, 2024
1 parent 7612451 commit 1238850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Check user permission
if: steps.get-permission.outputs.require-result == 'false'
if: ${{ steps.get-permission.outputs.require-result == 'false' && github.triggering_actor != 'bw-ghapp[bot]' }}
run: |
echo "User ${{ github.triggering_actor }} does not have the necessary access for this repository."
echo "Current permission level is ${{ steps.get-permission.outputs.user-permission }}."
Expand Down

0 comments on commit 1238850

Please sign in to comment.