Skip to content

Commit 1011217

Browse files
committed
Make spring-backport-issue.yml conditional on a token in commit message
1 parent a49bdfb commit 1011217

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/spring-backport-issue.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
jobs:
1010
backport-issue:
1111
runs-on: ubuntu-latest
12+
if: {{ contains(github.event.head_commit.message, "Fixes: ") || contains(github.event.head_commit.message, "Closes: ") }}
1213
steps:
1314

1415
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)