Skip to content

Commit c03d527

Browse files
authored
Revert "Remove (hopefully) unnecessary workflow lines" (open-telemetry#13247)
1 parent 9f8995d commit c03d527

20 files changed

+29
-0
lines changed

.github/workflows/build-daily-no-build-cache.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939

4040
workflow-notification:
4141
permissions:
42+
contents: read
4243
issues: write
4344
needs:
4445
- common

.github/workflows/build-daily.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242

4343
workflow-notification:
4444
permissions:
45+
contents: read
4546
issues: write
4647
needs:
4748
- common

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ permissions:
2222
jobs:
2323
analyze:
2424
permissions:
25+
contents: read
2526
actions: read # for github/codeql-action/init to get workflow details
2627
security-events: write # for github/codeql-action/analyze to upload SARIF results
2728
runs-on: otel-linux-latest-8-cores

.github/workflows/issue-management-feedback-label.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ permissions:
1010
jobs:
1111
issue_comment:
1212
permissions:
13+
contents: read
1314
issues: write
1415
if: >
1516
contains(github.event.issue.labels.*.name, 'needs author feedback') &&

.github/workflows/issue-management-stale-action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ permissions:
1111
jobs:
1212
stale:
1313
permissions:
14+
contents: read
1415
issues: write # for actions/stale to close stale issues
1516
pull-requests: write # for actions/stale to close stale PRs
1617
runs-on: ubuntu-latest

.github/workflows/label.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
label:
99
runs-on: ubuntu-latest
1010
permissions:
11+
contents: read
1112
pull-requests: write
1213
steps:
1314
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0

.github/workflows/native-tests-daily.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717

1818
workflow-notification:
1919
permissions:
20+
contents: read
2021
issues: write
2122
needs:
2223
- graalvm-native-tests

.github/workflows/overhead-benchmark-daily.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656

5757
workflow-notification:
5858
permissions:
59+
contents: read
5960
issues: write
6061
needs:
6162
- run-overhead-tests

.github/workflows/owasp-dependency-check-daily.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444

4545
workflow-notification:
4646
permissions:
47+
contents: read
4748
issues: write
4849
needs:
4950
- analyze

.github/workflows/publish-petclinic-benchmark-image.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
publish:
1515
runs-on: ubuntu-latest
1616
permissions:
17+
contents: read
1718
packages: write
1819
steps:
1920
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

0 commit comments

Comments
 (0)