Skip to content

Bump peter-evans/create-pull-request from 6 to 7 #32

Bump peter-evans/create-pull-request from 6 to 7

Bump peter-evans/create-pull-request from 6 to 7 #32

Workflow file for this run

name: Changelog CI
on:
pull_request:
types: [opened, reopened, synchronize] # Trigger on PR open, reopen, and updates
workflow_dispatch: # Allow manual triggering
jobs:
changelog: # Renamed job to 'changelog' for clarity
runs-on: ubuntu-latest
permissions:
contents: write # Required to modify the CHANGELOG.md file
pull-requests: write # Required to comment on the PR if there's an issue.
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history to generate changelog accurately
- name: Run Changelog CI
uses: Release-Tooling/[email protected] # Use a forked, maintained version
with:
configFile: .github/changelog-ci-config.json # Use a config file (RECOMMENDED)
token: ${{ secrets.GITHUB_TOKEN }} # Use the GITHUB_TOKEN
- name: Commit changes (if any)
uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: ${{ github.head_ref }} # Commit to the PR branch
commit_message: 'docs: update CHANGELOG.md [skip ci]'
file_pattern: CHANGELOG.md