Skip to content

Commit

Permalink
Merge pull request #226 from ps48/main
Browse files Browse the repository at this point in the history
Update backport CI, add PR merged condition
  • Loading branch information
ps48 authored Aug 15, 2023
2 parents 56abed5 + cd720c8 commit 935b6d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
backport:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
contents: write
Expand All @@ -26,5 +27,4 @@ jobs:
with:
github_token: ${{ steps.github_app_token.outputs.token }}
head_template: backport/backport-<%= number %>-to-<%= base %>
labels_template: "<%= JSON.stringify([...labels, 'autocut']) %>"
failure_labels: "failed backport"
failure_labels: backport-failed

0 comments on commit 935b6d9

Please sign in to comment.