Skip to content

Commit 8c8c8c4

Browse files
committed
Backport on closed merge requests only
(cherry picked from commit dba9976)
1 parent 9ddc613 commit 8c8c8c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/backport.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
steps:
1212
- name: "Backport Action"
1313
uses: "sorenlouv/backport-github-action@v9.3.1"
14+
if: "${{ github.event.pull_request.merged == true }}"
1415
with:
1516
github_token: "${{ secrets.GITHUB_TOKEN }}"
1617
auto_backport_label_prefix: "auto-backport-to-"

0 commit comments

Comments
 (0)