Skip to content

Commit

Permalink
[skip-ci] Remove need for R2R to use a GitHub PAT for creating releas…
Browse files Browse the repository at this point in the history
…es (#87)

* Remove need for R2R to use a GitHub PAT for creating releases
  • Loading branch information
uwx authored Nov 17, 2023
1 parent 977b29d commit a7b0396
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/r2r.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
runs-on: windows-latest

permissions:
contents: write # In order to be able to push releases

steps:
- uses: actions/checkout@v3
- name: Setup .NET
Expand Down Expand Up @@ -116,6 +119,6 @@ jobs:
# An optional tag for the release. If this is omitted the git ref will be used (if it is a tag).
tag: prerelease-r2r-${{steps.sha.outputs.substring}}-${{github.run_id}} # optional, default is
# The Github token.
token: ${{secrets.RELEASE_TOKEN}} # optional, default is ${{ github.token }}
token: ${{ github.token }}
# When allowUpdates is enabled, this will fail the action if the release it is updating is not a draft or a prerelease.
# updateOnlyUnreleased: # optional, default is false

0 comments on commit a7b0396

Please sign in to comment.