Skip to content

Update auto-release-notes.yml #22

Update auto-release-notes.yml

Update auto-release-notes.yml #22

name: Auto-generate consensus-node release notes
on:
push:
branches:
- update-release-notes
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