Skip to content

Commit e7e87c4

Browse files
committed
Harden sleep-test workflow permissions and pin checkout
1 parent b3d4018 commit e7e87c4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/sleep-test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@ on:
55
jobs:
66
long-sleep:
77
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
810
timeout-minutes: 20
911
steps:
1012
- name: Checkout
11-
uses: actions/checkout@v4
13+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
14+
with:
15+
persist-credentials: false
1216
- name: Start Workflow Telemetry
1317
uses: ./
1418
- name: Sleep for 10 minutes

0 commit comments

Comments
 (0)