Skip to content

Commit

Permalink
updated permissions tag in the nightly and release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
kessler-frost committed Nov 24, 2023
1 parent 77892c7 commit 42fbae3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ on:
schedule:
- cron: "*/10 * * * *"

permissions:
id-token: write
contents: read

jobs:
license:
name: License Scanner
Expand Down Expand Up @@ -131,9 +135,6 @@ jobs:
"AgnostiqHQ/covalent-awslambda-plugin",
"AgnostiqHQ/covalent-braket-plugin",
]
permissions:
id-token: write
contents: read
steps:
- name: Build executor_base_images
uses: peter-evans/repository-dispatch@v2
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ on:
type: string
default: "master"

permissions:
id-token: write
contents: read

env:
PAUL_BLART: >
'['
Expand Down Expand Up @@ -266,9 +270,6 @@ jobs:

docker:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Check out release tag
uses: actions/checkout@v2
Expand Down

0 comments on commit 42fbae3

Please sign in to comment.