File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 1+ # ## .github/workflows/dependabot_pr.yml
2+ # ## This workflow doesn't have access to secrets and has a read-only token
3+ name : Dependabot PR Check
4+ on :
5+ pull_request
6+
7+ jobs :
8+ check-dependabot :
9+ runs-on : ubuntu-latest
10+ if : ${{ github.actor == 'dependabot[bot]' }}
11+ steps :
12+ - run : echo "PR created by Dependabot"
Original file line number Diff line number Diff line change 11name : test
22
33on :
4- pull_request_target :
5- types :
6- - opened
4+ workflow_run :
5+ workflows : ["Dependabot PR Check"]
6+ types :
7+ - completed
8+ pull_request :
79 branches :
810 - main
911
2931
3032 build-linux :
3133 runs-on : ubuntu-latest
34+ if : ${{ github.actor != 'dependabot[bot]' || github.event.workflow_run.conclusion == 'success' }}
3235 env :
3336 # https://goreleaser.com/customization/docker_manifest/
3437 DOCKER_CLI_EXPERIMENTAL : " enabled"
You can’t perform that action at this time.
0 commit comments