Skip to content

Commit 714156f

Browse files
authored
chore(ci): use dd-sts for system-tests test optimization (#788)
* chore(ci): use dd-sts for system-tests test optimization * chore(ci): remove dd_sts_policy from system-tests subworkflow * chore(ci): remove unneeded permissions from system-tests subworkflow * chore(ci): pin system-tests workflow to 1e5d6b709 * Remove API key * fix: add contents:read permission to system-tests workflow call * chore(ci): pass ref to system-tests reusable workflow
1 parent 3137af0 commit 714156f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/system_tests.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,13 @@ jobs:
2828
system-tests:
2929
needs:
3030
- build
31-
uses: DataDog/system-tests/.github/workflows/system-tests.yml@main
32-
secrets:
33-
DD_API_KEY: ${{ secrets.DD_API_KEY }}
34-
TEST_OPTIMIZATION_API_KEY: ${{ secrets.TEST_OPTIMIZATION_API_KEY }}
31+
uses: DataDog/system-tests/.github/workflows/system-tests.yml@1e5d6b7096279ca43ce4826fda3cc805635b63c1
3532
permissions:
3633
contents: read
37-
packages: write
34+
id-token: write
3835
with:
3936
library: python_lambda
37+
ref: 1e5d6b7096279ca43ce4826fda3cc805635b63c1
4038
binaries_artifact: binaries
4139
scenarios_groups: tracer_release
4240
skip_empty_scenarios: true

0 commit comments

Comments
 (0)