Skip to content

Commit

Permalink
All tasks can access the read token
Browse files Browse the repository at this point in the history
  • Loading branch information
markelliot committed Jul 28, 2021
1 parent 4082429 commit 0d87ef6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
permissions:
contents: read
packages: write
env:
GH_READ_PACKAGES_TOKEN: ${{ secrets.GH_READ_PACKAGES_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
Expand All @@ -21,5 +23,4 @@ jobs:
run: ./gradlew --no-daemon publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_READ_PACKAGES_TOKEN: ${{ secrets.GH_READ_PACKAGES_TOKEN }}

0 comments on commit 0d87ef6

Please sign in to comment.