Update auto-release-notes.yml #24
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: Auto-generate consensus-node release notes | |
on: | |
push: | |
branches: | |
- update-node-tables | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: false | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
update-release-notes: | |
runs-on: hashgraph-docs-linux-medium | |
steps: | |
- name: Checkout docs repo | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
- name: Run update script | |
env: | |
CONSENSUS_TOKEN: ${{ secrets.CONSENSUS_TOKEN }} | |
run: | | |
node .github/scripts/update-services.js \ | |
--md-path networks/release-notes/services.md | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
commit-message: "chore: update release notes" | |
sign-commits: true | |
branch: update-release-notes | |
title: "chore: update release notes" | |
body: "Automated update of consensus-node release notes." | |
labels: automated-pr | |
delete-branch: true |