Skip to content

Commit

Permalink
Add id-token permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
tammy-baylis-swi committed Feb 28, 2024
1 parent 0acfdde commit 5c3c1a1
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build_publish_lambda_layer_aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ name: Publish APM Python lambda layer for aarch64
on:
workflow_call:

permissions:
id-token: write
contents: read

jobs:
launch_arm64:
name: Launch arm64 ec2 runners
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build_publish_pypi_and_draft_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:
env:
RELEASE_NAME: rel-${{ github.event.inputs.version }}

permissions:
id-token: write
contents: read

jobs:
is_publishable:
name: Check if version valid
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build_publish_testpypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ name: Publish to TestPyPi
on:
workflow_dispatch:

permissions:
id-token: write
contents: read

jobs:
build_publish_sdist_and_x86_64:
name: Build and publish sdist and x86_64
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/verify_install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ env:
SW_APM_SERVICE_KEY_PROD: ${{ secrets.SW_APM_SERVICE_KEY_PROD }}
SW_APM_SERVICE_KEY_STAGING: ${{ secrets.SW_APM_SERVICE_KEY_STAGING }}

permissions:
id-token: write
contents: read

jobs:
launch-arm64:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5c3c1a1

Please sign in to comment.