Skip to content

build(dev): remove unused requirements update aliases #207

build(dev): remove unused requirements update aliases

build(dev): remove unused requirements update aliases #207

Workflow file for this run

name: "On PR Closed"
on:
pull_request:
types: [closed]
permissions:
contents: write
issues: write
pull-requests: read
jobs:
# This job always runs to prevent GHA from marking the run as failed when
# all other jobs are skipped.
noop:
runs-on: ubuntu-latest
steps:
- run: echo "No-op"
parse_pr:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
outputs:
command: ${{ steps.parse.outputs.command }}
pr_number: ${{ steps.parse.outputs.pr_number }}
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: "3.14"
- name: Parse PR
id: parse
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: .github/workflows/on_pr_closed.py
process_backports:
needs: parse_pr
if: needs.parse_pr.outputs.command == 'process-backports'
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: read
steps:
- name: Checkout repository
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Setup Bazel
uses: bazel-contrib/setup-bazel@0.19.0
with:
bazelisk-version: 1.20.0
- name: Configure Git Identity
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Process Backports
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ needs.parse_pr.outputs.pr_number }}
run: |
bazel run //tools/private/release -- on-pr-merged \
"$PR_NUMBER" \
--remote origin \
--no-dry-run
call_complete_sync_changelog:
needs: parse_pr
if: needs.parse_pr.outputs.command == 'complete-sync-changelog'
uses: ./.github/workflows/release_sync_changelog_complete.yaml
secrets: inherit