Skip to content

Commit

Permalink
only allowed 'packages: read'
Browse files Browse the repository at this point in the history
  • Loading branch information
danzuep committed Dec 5, 2023
1 parent 46e4d87 commit 8ad4f73
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/_publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 🚀 Deploy to NuGet
run-name: Deploy ${{ inputs.projectName }} NuGet package
name: 🚀 Publish Android package
run-name: Publish ${{ inputs.projectName }} Android package

on:
workflow_call:
Expand Down Expand Up @@ -32,9 +32,6 @@ jobs:
deploy:
name: 🚀 ${{ inputs.projectName }}
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
environment: ${{ inputs.environment }}

steps:
Expand Down

0 comments on commit 8ad4f73

Please sign in to comment.