Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a6d362f

Browse filesBrowse files
Make trigger-dependabot-auto-merge-forward.yml run on push
Issue gh-14721
1 parent 37984c2 commit a6d362f
Copy full SHA for a6d362f

File tree

Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed

‎.github/workflows/trigger-dependabot-auto-merge-forward.yml

Copy file name to clipboardExpand all lines: .github/workflows/trigger-dependabot-auto-merge-forward.yml
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
name: Trigger Dependabot Auto Merge Forward
22

33
on:
4-
pull_request:
5-
types: [closed]
4+
push:
5+
branches:
6+
- '*.x'
67

78
permissions: read-all
89

910
jobs:
1011
trigger-worflow:
1112
name: Trigger Workflow
1213
runs-on: ubuntu-latest
13-
if: ${{ github.event.pull_request.merged == true && github.actor == 'dependabot[bot]' && github.repository == 'spring-projects/spring-security' }}
14+
if: ${{ github.event.commits[0].author.username == 'dependabot[bot]' && github.repository == 'spring-projects/spring-security' }}
1415
steps:
1516
- name: Checkout
1617
id: checkout

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.