Skip to content
Merged
Changes from 5 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
4 changes: 2 additions & 2 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,12 @@ jobs:

system-tests:
needs: build-system-tests-artifact
uses: DataDog/system-tests/.github/workflows/system-tests.yml@main
uses: DataDog/system-tests/.github/workflows/system-tests.yml@1e5d6b7096279ca43ce4826fda3cc805635b63c1
secrets:
TEST_OPTIMIZATION_API_KEY: ${{ secrets.DD_CI_VIS_API_KEY }}
permissions:
contents: read
packages: write
id-token: write
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Propagate id-token permission to upstream workflow callers

Adding id-token: write here is not sufficient for all execution paths: dev.yml is invoked via workflow_call from .github/workflows/main.yml (job call-dev-workflow), and that caller explicitly grants only contents: read and packages: write. In reusable workflows, permissions cannot be elevated by the callee, so the system-tests job will not actually get an OIDC token in main/scheduled runs, which will break Datadog STS auth once this pin is updated to a dd-sts-enabled system-tests SHA.

Useful? React with 👍 / 👎.

with:
library: cpp
binaries_artifact: system_tests_binaries
Expand Down
Loading