Skip to content

Merge pull request #889 from sirosen/release-3.30.0 #400

Merge pull request #889 from sirosen/release-3.30.0

Merge pull request #889 from sirosen/release-3.30.0 #400

name: update-pr-references
on:
push:
branches:
- main
jobs:
update_pr_numbers_in_change_fragments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
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