Skip to content

Commit 1238850

Browse files
authored
remove gh app from users to check in check-run workflow (#306)
1 parent 7612451 commit 1238850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check-run.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2222

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

0 commit comments

Comments
 (0)