From 03fb7d0f35740707a3c2612a10f0b3ff5914589c Mon Sep 17 00:00:00 2001 From: Alexandre Pasmantier <47638216+alexpasmantier@users.noreply.github.com> Date: Sun, 24 Nov 2024 16:04:47 +0100 Subject: [PATCH] ci(changelog): update changelog action trigger (#68) --- .github/workflows/changelog.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index e676702..413fbde 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -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