diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index 584f0e6f..519e6685 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Remove old release notes run: | for minor in $MINORS; do @@ -22,10 +22,14 @@ jobs: run: scripts/collect-all-release-notes.sh env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Get current month and year + id: date + run: echo "::set-output name=month_year::$(date +'%B %Y')" - name: Create Pull Request uses: peter-evans/create-pull-request@v5 with: commit-message: update release-notes/v1.XX.X.md - title: Update Release Notes + title: Update Release Notes ${{ steps.date.outputs.month_year }} body: Automated release notes update - branch: update-release-notes \ No newline at end of file + branch: update-release-notes + signoff: true