Skip to content

Use docs user PAT to raise PR #10

Use docs user PAT to raise PR

Use docs user PAT to raise PR #10

name: Generate Changelog
on:
workflow_dispatch: ~
schedule:
- cron: "0 0 * * 0"
push: ~
permissions:
contents: write
pull-requests: write
jobs:
build-changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run changelog script
working-directory: tools/changelog-generator
run: |
npm ci
node changelog.js
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: Automated Changelog update
labels: skip-changelog