Skip to content

Commit

Permalink
Update backport CI, add PR merged condition (opensearch-project#939)
Browse files Browse the repository at this point in the history
Signed-off-by: Shenoy Pratik <[email protected]>
(cherry picked from commit 747baae)
  • Loading branch information
ps48 authored and A9 Swift Project User committed Sep 28, 2023
1 parent 6cbad96 commit 0ff8cbf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 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 @@ -22,7 +23,8 @@ jobs:
installation_id: 22958780

- name: Backport
uses: VachaShah/backport@v1.1.4
uses: VachaShah/backport@v2.2.0
with:
github_token: ${{ steps.github_app_token.outputs.token }}
branch_name: backport/backport-${{ github.event.number }}
head_template: backport/backport-<%= number %>-to-<%= base %>
failure_labels: backport-failed
4 changes: 2 additions & 2 deletions auto_sync_commit_metadata.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"last_github_commit": "e1a99ff16819d628e4b8a617a488c6a6da55c830",
"last_gitfarm_commit": "c79ccfd7c5a5e55837fc2f7bcaf5227bc47764a8"
"last_github_commit": "747baaeda4caf6160234b7d530aea2f2db7deb12",
"last_gitfarm_commit": "f82af0b20311aebe9bf63c32378f362014afa451"
}

0 comments on commit 0ff8cbf

Please sign in to comment.