Skip to content

Commit d080f61

Browse files
[StepSecurity] ci: Harden GitHub Actions (open-telemetry#703)
Signed-off-by: StepSecurity Bot <[email protected]>
1 parent 1982c56 commit d080f61

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@ on:
55
# hourly at minute 23
66
- cron: "23 * * * *"
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
stale:
13+
permissions:
14+
issues: write # for actions/stale to close stale issues
15+
pull-requests: write # for actions/stale to close stale PRs
1016
runs-on: ubuntu-latest
1117
steps:
1218
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0

.github/workflows/reusable-markdown-link-check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: Reusable - Markdown link check
33
on:
44
workflow_call:
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
markdown-link-check:
811
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)