Skip to content

Commit b98891a

Browse files
authored
resolve (#20298)
1 parent 750f2a8 commit b98891a

9 files changed

+39
-11
lines changed

.github/workflows/flaky-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ jobs:
2929
pytest-args: '-m flaky'
3030
secrets: inherit
3131

32+
permissions:
33+
# needed for codecov in test-target.yml, allows the action to get a JWT signed by Github
34+
id-token: write
35+
# needed for compute-matrix in test-target.yml
36+
contents: read
37+
3238
publish-test-results:
3339
needs:
3440
- test

.github/workflows/master.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ jobs:
2828
pytest-args: '-m "not flaky"'
2929
secrets: inherit
3030

31-
# needed for codecov in test-target.yml, allows the action to get a JWT signed by Github
3231
permissions:
32+
# needed for codecov in test-target.yml, allows the action to get a JWT signed by Github
3333
id-token: write
34+
# needed for compute-matrix in test-target.yml
35+
contents: read
3436

3537
publish-test-results:
3638

.github/workflows/nightly-base-package.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ jobs:
1414
test:
1515
uses: ./.github/workflows/test-all.yml
1616

17-
# needed for codecov in test-target.yml, allows the action to get a JWT signed by Github
1817
permissions:
19-
id-token: write
18+
# needed for codecov in test-target.yml, allows the action to get a JWT signed by Github
19+
id-token: write
20+
# needed for compute-matrix in test-target.yml
21+
contents: read
2022

2123
with:
2224
repo: core

.github/workflows/pr-all.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ jobs:
1818
test:
1919
uses: ./.github/workflows/test-all.yml
2020

21-
# needed for codecov in test-target.yml, allows the action to get a JWT signed by Github
2221
permissions:
23-
id-token: write
22+
# needed for codecov in test-target.yml, allows the action to get a JWT signed by Github
23+
id-token: write
24+
# needed for compute-matrix in test-target.yml
25+
contents: read
2426

2527
with:
2628
repo: core

.github/workflows/pr.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
repo: core
2424
secrets: inherit
2525

26-
# needed for codecov in test-target.yml, allows the action to get a JWT signed by Github
2726
permissions:
28-
id-token: write
27+
# needed for codecov in test-target.yml, allows the action to get a JWT signed by Github
28+
id-token: write
29+
# needed for compute-matrix in test-target.yml
30+
contents: read

.github/workflows/test-agent.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ jobs:
4949
agent-image-windows: "${{ inputs.agent-image-windows }}"
5050
agent-image-windows-py2: "${{ inputs.agent-image-windows-py2 }}"
5151
secrets: inherit
52+
permissions:
53+
# needed for codecov in test-target.yml, allows the action to get a JWT signed by Github
54+
id-token: write
55+
# needed for compute-matrix in test-target.yml
56+
contents: read
5257

5358
submit-traces:
5459
needs:

.github/workflows/test-fips-e2e.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,11 @@ jobs:
4545
TRACE_CAPTURE_BASE_DIR: "trace-captures"
4646
TRACE_CAPTURE_LOG: "trace-captures/output.log"
4747

48-
# needed for codecov in test-target.yml, allows the action to get a JWT signed by Github
4948
permissions:
50-
id-token: write
49+
# needed for codecov in test-target.yml, allows the action to get a JWT signed by Github
50+
id-token: write
51+
# needed for compute-matrix in test-target.yml
52+
contents: read
5153

5254
steps:
5355

.github/workflows/test-target.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,11 @@ jobs:
114114
TRACE_CAPTURE_BASE_DIR: "trace-captures"
115115
TRACE_CAPTURE_LOG: "trace-captures/output.log"
116116

117-
# needed for codecov in test-target.yml, allows the action to get a JWT signed by Github
118117
permissions:
119-
id-token: write
118+
# needed for codecov in test-target.yml, allows the action to get a JWT signed by Github
119+
id-token: write
120+
# needed for compute-matrix in test-target.yml
121+
contents: read
120122
steps:
121123

122124
- name: Set environment variables with sanitized paths

.github/workflows/weekly-latest.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ jobs:
1414
# Options
1515
latest: true
1616
secrets: inherit
17+
permissions:
18+
# needed for codecov in test-target.yml, allows the action to get a JWT signed by Github
19+
id-token: write
20+
# needed for compute-matrix in test-target.yml
21+
contents: read
1722

1823
submit-traces:
1924
needs:

0 commit comments

Comments
 (0)