Skip to content

Commit 43ef7cc

Browse files
[StepSecurity] Apply security best practices (#966)
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io> Co-authored-by: stepsecurity-app[bot] <188008098+stepsecurity-app[bot]@users.noreply.github.com>
1 parent 68a894f commit 43ef7cc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/stale.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
schedule:
55
- cron: '30 0 * * *'
66
workflow_dispatch:
7+
permissions:
8+
contents: read
9+
710
jobs:
811
stale:
912
runs-on: ubuntu-latest
@@ -12,6 +15,11 @@ jobs:
1215
issues: write
1316
pull-requests: write
1417
steps:
18+
- name: Harden the runner (Audit all outbound calls)
19+
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
20+
with:
21+
egress-policy: audit
22+
1523
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
1624
with:
1725
days-before-stale: 14

0 commit comments

Comments
 (0)