mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-06 03:25:23 +00:00
ci(changelog): update changelog action trigger (#68)
This commit is contained in:
parent
84d54b5751
commit
03fb7d0f35
9
.github/workflows/changelog.yml
vendored
9
.github/workflows/changelog.yml
vendored
@ -1,13 +1,12 @@
|
||||
name: changelog
|
||||
permissions:
|
||||
contents: write
|
||||
pull_request: write
|
||||
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '[v]?[0-9]+.[0-9]+.[0-9]+'
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user