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
11
.github/workflows/changelog.yml
vendored
11
.github/workflows/changelog.yml
vendored
@ -1,14 +1,13 @@
|
|||||||
name: changelog
|
name: changelog
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
pull_request: write
|
|
||||||
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
branches:
|
||||||
- '[v]?[0-9]+.[0-9]+.[0-9]+'
|
- main
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
changelog:
|
changelog:
|
||||||
@ -16,6 +15,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -37,7 +37,7 @@ jobs:
|
|||||||
id: extract_branch
|
id: extract_branch
|
||||||
|
|
||||||
- name: Create PR
|
- name: Create PR
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
commit-message: 'chore(changelog): update changelog (auto)'
|
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.'
|
body: 'This PR was created by a GitHub Action to update the changelog.'
|
||||||
branch: bot/auto-changelog-update
|
branch: bot/auto-changelog-update
|
||||||
base: main
|
base: main
|
||||||
|
add-paths: CHANGELOG.md
|
||||||
|
Loading…
x
Reference in New Issue
Block a user