Skip to content

Commit

Permalink
Merge pull request #13 from hughesjs/fix-cd
Browse files Browse the repository at this point in the history
Added permission for github release and restricted tagger perms
  • Loading branch information
hughesjs authored May 6, 2024
2 parents eaf4da6 + 09bf5fb commit 66c30aa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/dotnet-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
needs: test
name: Create a Package Release
runs-on: ubuntu-latest
permissions: write-all
permissions:
contents: write
steps:
- uses: actions/checkout@v4 # Need the full commit history for conventional commit
- name: Setup .NET
Expand Down Expand Up @@ -52,6 +53,8 @@ jobs:


github-publish:
permissions:
packages: write
needs: semantic-release
name: Publish to Github
runs-on: ubuntu-latest
Expand Down

0 comments on commit 66c30aa

Please sign in to comment.