Skip to content

Commit

Permalink
Fix release draft action permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeRobich committed Sep 15, 2023
1 parent d76b8e3 commit b478739
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:

jobs:
create_milestone_and_draft_release:
permissions:
# write permission is required to create a github release
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -54,5 +57,5 @@ jobs:
omitNameDuringUpdate: true
name: 'v${{ steps.gitversion.outputs.majorMinorPatch }}'
tag: 'v${{ steps.gitversion.outputs.majorMinorPatch }}'
token: ${{ secrets.OMNISHARP_BOT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
commit: ${{ github.base_ref }}

0 comments on commit b478739

Please sign in to comment.