Skip to content

Commit

Permalink
ci: fix permissions pr close
Browse files Browse the repository at this point in the history
  • Loading branch information
azrod committed Nov 3, 2024
1 parent 3bee1df commit 6366ec9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pr_close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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 <github-actions[bot]@users.noreply.github.com>
commit_author: Changelog Bot <github-actions[bot]@users.noreply.github.com>

0 comments on commit 6366ec9

Please sign in to comment.