Skip to content

Commit

Permalink
ci: update permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanouil committed Jan 21, 2025
1 parent bcff7c4 commit 3f225f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@ on:
default: today

permissions:
contents: read
contents: write

jobs:
update-changelog:
runs-on: ubuntu-latest

permissions:
contents: write
pull-requests: write

env:
Expand Down Expand Up @@ -66,7 +65,7 @@ jobs:
shell: bash
run: |
sleep 30
gh pr create --fill-first --base "main" --head "${{ env.BRANCH }}" --label "Type: CI/CD :robot:"
gh pr create --fill-first --base "main" --head "${{ env.BRANCH }}" --label "Type: CI/CD :robot:" || echo "No changes to commit"
- name: Merge Pull Request
shell: bash
Expand Down

0 comments on commit 3f225f3

Please sign in to comment.