Add a doc to the User Guide for combining GAREs (#1343) #833
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: update-pr-references | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| update_pr_numbers_in_change_fragments: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.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="actions@github.com" \ | |
| commit -m '(actions) update PR references' | |
| git push origin | |
| fi |