Skip to content

Commit

Permalink
Permissions.
Browse files Browse the repository at this point in the history
  • Loading branch information
kinyoklion committed Aug 8, 2023
1 parent 0ffe31b commit 7397496
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/manual-publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ name: Publish Documentation
jobs:
build-publish:
runs-on: ubuntu-22.04
# Needed to get tokens during publishing.
permissions:
id-token: write
contents: read
steps:
- uses: erlef/setup-beam@v1
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ on:
jobs:
release-package:
runs-on: ubuntu-latest
permissions: # These are needed if using OIDC to get release secrets.
id-token: write
contents: write
permissions:
id-token: write # Needed if using OIDC to get release secrets.
contents: write # Contents and pull-requests are for release-please to make releases.
pull-requests: write

steps:
Expand Down

0 comments on commit 7397496

Please sign in to comment.