File tree 1 file changed +54
-0
lines changed
1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Auto Merge Forward Dependabot Commits
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ permissions :
7
+ contents : read
8
+
9
+ concurrency :
10
+ group : dependabot-auto-merge-forward
11
+
12
+ jobs :
13
+ get-supported-branches :
14
+ uses : spring-io/spring-security-release-tools/.github/workflows/retrieve-spring-supported-versions.yml@d615a5694c761901330655fdd0e3721dc4ccf0fe
15
+ with :
16
+ project : spring-security
17
+ type : oss
18
+
19
+ auto-merge-forward-dependabot :
20
+ name : Auto Merge Forward Dependabot Commits
21
+ runs-on : ubuntu-latest
22
+ needs : [get-supported-branches]
23
+ permissions :
24
+ contents : write
25
+ steps :
26
+ - name : Checkout
27
+ id : checkout
28
+ uses : actions/checkout@v4
29
+ - name : Setup GitHub User
30
+ id : setup-gh-user
31
+ run : |
32
+ git config user.name 'github-actions[bot]'
33
+ git config user.email 'github-actions[bot]@users.noreply.github.com'
34
+ - name : Run Auto Merge Forward
35
+ id : run-auto-merge-forward
36
+ uses : marcusdacoregio/auto-merge-forward@c482956226871dfff01598a3e6fd66c6a5ecbca7
37
+ with :
38
+ branches : ${{ needs.get-supported-branches.outputs.supported_versions }},main
39
+ from-author : dependabot[bot]
40
+ notify_result :
41
+ name : Check for failures
42
+ needs : [ auto-merge-forward-dependabot ]
43
+ if : failure()
44
+ runs-on : ubuntu-latest
45
+ permissions :
46
+ actions : read
47
+ steps :
48
+ - name : Send Slack message
49
+
50
+ with :
51
+ repo_token : ${{ secrets.GITHUB_TOKEN }}
52
+ slack_webhook_url : ${{ secrets.SLACK_WEBHOOK_URL }}
53
+ channel : ' #spring-security-ci'
54
+ name : ' CI Notifier'
You can’t perform that action at this time.
0 commit comments