Skip to content

Commit ea2c473

Browse files
committed
Move check to job level
(cherry picked from commit 898f039)
1 parent cb430ae commit ea2c473

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/backport.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
backport:
99
name: "Backport PR"
1010
runs-on: "ubuntu-latest"
11+
if: "${{ github.event.pull_request.merged == true }}"
1112
steps:
1213
- name: "Backport Action"
1314
uses: "sorenlouv/[email protected]"
14-
if: "${{ github.event.pull_request.merged == true }}"
1515
with:
1616
github_token: "${{ secrets.GITHUB_TOKEN }}"
1717
auto_backport_label_prefix: "auto-backport-to-"

0 commit comments

Comments
 (0)