Skip to content

Merge pull request #1094 from rjmello/compute-client-task-methods #596

Merge pull request #1094 from rjmello/compute-client-task-methods

Merge pull request #1094 from rjmello/compute-client-task-methods #596

name: update-pr-references
on:
push:
branches:
- main
jobs:
update_pr_numbers_in_change_fragments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.x'
- name: update any PR numbers in change fragments
run: |
python ./changelog.d/update-pr-refs.py
if [ "$(git status --porcelain)" = "" ]; then
echo "no changes"
else
git add changelog.d/
git \
-c user.name="GitHub Actions" \
-c user.email="[email protected]" \
commit -m '(actions) update PR references'
git push origin
fi