-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove track-prs for release project (#10170)
- Loading branch information
1 parent
2136046
commit 225848a
Showing
4 changed files
with
3 additions
and
646 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,20 +24,15 @@ jobs: | |
uses: tibdex/backport@v2 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
title_template: "[AUTO-BACKPORT <%= number %>] <%= title %>" | ||
|
||
- name: wait-for-checks | ||
uses: poseidon/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
ignore: test-e2e-longrunning | ||
title_template: "[AUTO-BACKPORT <%= base %>] <%= number %>: <%= title %>" | ||
|
||
- name: merge backported PR | ||
id: merge_backport_pr | ||
if: success() | ||
run: | | ||
PR_NUMBER=$(gh pr list --repo ${{ github.repository }} --search "[AUTO-BACKPORT ${{ github.event.pull_request.number }}]" --json number --jq '.[0].number') | ||
PR_NUMBER=$(gh pr list --repo ${{ github.repository }} --search "[AUTO-BACKPORT release-[0-9.]+ ] ${{ github.event.pull_request.number }}" --json number --jq '.[0].number') | ||
if [ -n "$PR_NUMBER" ]; then | ||
tools/scripts/track-pr pr-${{ github.event.action }} "$PR_NUMBER" | ||
gh pr merge $PR_NUMBER --merge --repo ${{ github.repository }} --admin -t "Auto-merged backport PR." | ||
else | ||
echo "No backport PR found to merge." | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.