Skip to content

Commit

Permalink
chore: remove track-prs for release project (#10170)
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinaecalderon authored Nov 4, 2024
1 parent 2136046 commit 225848a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 646 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/backport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
65 changes: 0 additions & 65 deletions .github/workflows/track-prs-for-release.yml

This file was deleted.

269 changes: 0 additions & 269 deletions tools/scripts/gql.py

This file was deleted.

Loading

0 comments on commit 225848a

Please sign in to comment.