Skip to content

Commit

Permalink
update on release published permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyorlando committed Jun 5, 2024
1 parent 8910a9a commit cdd8354
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/on-release-published.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ on:
types:
- published

# These permissions are needed to assume roles from Github's OIDC.
# https://github.com/grafana/shared-workflows/tree/main/actions/get-vault-secrets
permissions:
contents: read
id-token: write

jobs:
linting-and-tests:
name: Linting and tests
Expand All @@ -21,6 +15,11 @@ jobs:
needs:
- linting-and-tests
runs-on: ubuntu-latest
# These permissions are needed to assume roles from Github's OIDC.
# https://github.com/grafana/shared-workflows/tree/main/actions/get-vault-secrets
permissions:
contents: read
id-token: write
steps:
- name: Checkout project
uses: actions/checkout@v3
Expand Down Expand Up @@ -79,6 +78,11 @@ jobs:
needs:
- linting-and-tests
runs-on: ubuntu-latest
# These permissions are needed to assume roles from Github's OIDC.
# https://github.com/grafana/shared-workflows/tree/main/actions/get-vault-secrets
permissions:
contents: read
id-token: write
steps:
- name: Checkout project
uses: actions/checkout@v3
Expand Down

0 comments on commit cdd8354

Please sign in to comment.