Skip to content

Commit

Permalink
Update backport CI, add PR merged condition (opensearch-project#1952)
Browse files Browse the repository at this point in the history
Signed-off-by: Shenoy Pratik <[email protected]>
Signed-off-by: Mitchell Gale <[email protected]>
  • Loading branch information
ps48 authored and MitchellGale committed Aug 14, 2023
1 parent 99c2375 commit 4da83ef
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 4da83ef

Please sign in to comment.