Skip to content

Add step to send notice by email to release doc (#1087) #580

Add step to send notice by email to release doc (#1087)

Add step to send notice by email to release doc (#1087) #580

name: update-pr-references
on:
push:
branches:
- main
jobs:
update_pr_numbers_in_change_fragments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.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