diff --git a/.github/workflows/pr_close.yml b/.github/workflows/pr_close.yml index 7b21fff..aee1407 100644 --- a/.github/workflows/pr_close.yml +++ b/.github/workflows/pr_close.yml @@ -8,6 +8,10 @@ concurrency: group: ${{ github.ref }}-${{ github.head_ref }}-changelog cancel-in-progress: true +permissions: + contents: write + pull-requests: write + jobs: GenerateChangelog: if: github.event.pull_request.merged || github.event_name == 'workflow_dispatch' @@ -27,11 +31,10 @@ jobs: - run: bash .github/changelog/generate-changelog.sh - uses: stefanzweifel/git-auto-commit-action@v5 with: - branch: main commit_message: "chore: Update CHANGELOG.md" commit_options: '--no-verify --signoff' push_options: '--force' file_pattern: CHANGELOG.md commit_user_name: github-actions[bot] commit_user_email: github-actions[bot]@users.noreply.github.com - commit_author: Changelog Bot \ No newline at end of file + commit_author: Changelog Bot