Skip to content

Commit

Permalink
ci(misc): add correct permissions for pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
rudoi committed May 9, 2024
1 parent 7d932a1 commit 766df2d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ permissions:
jobs:
update-app-version:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Check out
uses: actions/checkout@v3
Expand All @@ -45,4 +48,4 @@ jobs:
run: |
gh pr create -H "bot/${{ github.event.inputs.app }}-${{ github.event.inputs.version }}" -B "main" --title "automated: ${{ github.event.inputs.app }} version ${{ github.event.inputs.version }}" -b "automated: version ${{ github.event.inputs.version }}"
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 766df2d

Please sign in to comment.