ci(changelog): update changelog action trigger (#68)

This commit is contained in:
Alexandre Pasmantier 2024-11-24 16:04:47 +01:00 committed by Alexandre Pasmantier
parent 84d54b5751
commit 03fb7d0f35

View File

@ -1,14 +1,13 @@
name: changelog
permissions:
contents: write
pull_request: write
on:
push:
tags:
- '[v]?[0-9]+.[0-9]+.[0-9]+'
workflow_dispatch:
branches:
- main
workflow_dispatch:
jobs:
changelog:
@ -16,6 +15,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
@ -37,7 +37,7 @@ jobs:
id: extract_branch
- name: Create PR
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'chore(changelog): update changelog (auto)'
@ -45,3 +45,4 @@ jobs:
body: 'This PR was created by a GitHub Action to update the changelog.'
branch: bot/auto-changelog-update
base: main
add-paths: CHANGELOG.md