File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4545 username : ${{ github.triggering_actor }}
4646 env :
4747 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48- # If neither has permissions and no 'safe to test' label throw error
48+ # If neither has permissions and no 'safe to test' label and not dependabot throw error
4949 - name : Check User Permission
50- if : steps.checkAccess.outputs.require-result == 'false' && steps.checkTriggeringAccess.outputs.require-result == 'false' && !contains(github.event.pull_request.labels.*.name, 'safe to test')
50+ if : steps.checkAccess.outputs.require-result == 'false' && steps.checkTriggeringAccess.outputs.require-result == 'false' && !contains(github.event.pull_request.labels.*.name, 'safe to test') && (github.actor != 'dependabot[bot]')
5151 shell : bash
5252 run : |
5353 echo "${{ github.triggering_actor }} does not have permissions on this repo."
You can’t perform that action at this time.
0 commit comments