Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@ env:
DOCKER_IMAGE_NAME: observability/apm-lambda-extension

permissions:
contents: write
id-token: write
pull-requests: read
contents: read
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewer: default top-level permission. only checkout


jobs:
build:
runs-on: ubuntu-latest
permissions:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewer: job permissions, to follow the least-permissive access

attestations: write
artifact-metadata: write
Comment on lines +21 to +22
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

required permissions for the provenance

contents: write
id-token: write
pull-requests: read
steps:
- uses: actions/checkout@v6
with:
Expand Down Expand Up @@ -65,7 +69,7 @@ jobs:
if: always()
with:
name: aws
path: ".aws*/**/*"
path: ".aws-linux*/"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewer: let's see if this will actually archive the lambda folder

retention-days: 5

- name: generate build provenance (binaries)
Expand Down