File tree 2 files changed +18
-3
lines changed 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 1
1
name : test
2
2
3
3
on :
4
- pull_request_target :
5
- types :
6
- - opened
4
+ workflow_run :
5
+ workflows : ["Dependabot PR Check"]
6
+ types :
7
+ - completed
8
+ pull_request :
7
9
branches :
8
10
- main
9
11
29
31
30
32
build-linux :
31
33
runs-on : ubuntu-latest
34
+ if : ${{ github.actor != 'dependabot[bot]' || github.event.workflow_run.conclusion == 'success' }}
32
35
env :
33
36
# https://goreleaser.com/customization/docker_manifest/
34
37
DOCKER_CLI_EXPERIMENTAL : " enabled"
You can’t perform that action at this time.
0 commit comments