Skip to content

Commit

Permalink
[Mega Backport 2.x] Backports PRs with backport-failed labels that …
Browse files Browse the repository at this point in the history
…weren't actually backported (#4610)

Signed-off-by: Ryan Liang <[email protected]>
Signed-off-by: Darshit Chanpura <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Sean Li <[email protected]>
Signed-off-by: Maciej Mierzwa <[email protected]>
Signed-off-by: Pavlos Daoglou <[email protected]>
Signed-off-by: Stephen Crawford <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Prabhas Kurapati <[email protected]>
Signed-off-by: Prabhas Kurapati <[email protected]>
Co-authored-by: Ryan Liang <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sean Li <[email protected]>
Co-authored-by: MaciejMierzwa <[email protected]>
Co-authored-by: Pavlos Daoglou <[email protected]>
Co-authored-by: Stephen Crawford <[email protected]>
Co-authored-by: Derek Ho <[email protected]>
Co-authored-by: Prabhas Kurapati <[email protected]>
  • Loading branch information
9 people authored Aug 13, 2024
1 parent 05d9b69 commit 3176ce3
Show file tree
Hide file tree
Showing 16 changed files with 1,571 additions and 311 deletions.
132 changes: 0 additions & 132 deletions .github/actions/start-opensearch-with-one-plugin/action.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/add-untriaged.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Apply 'untriaged' label during issue lifecycle

on:
issues:
types: [opened, reopened, transferred]

jobs:
apply-label:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['untriaged']
})
2 changes: 1 addition & 1 deletion .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ncipollo/release-action@v1
with:
github_token: ${{ steps.github_app_token.outputs.token }}
Expand Down
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
Loading

0 comments on commit 3176ce3

Please sign in to comment.