Skip to content

Commit a1eae0b

Browse files
[StepSecurity] ci: Harden GitHub Actions in lint.yml (#20)
Co-authored-by: John Bampton <[email protected]>
1 parent 8556dfb commit a1eae0b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Lint
22

33
on: [push, pull_request]
44

5+
permissions: # added using https://github.com/step-security/secure-workflows
6+
contents: read
7+
58
jobs:
69
markdownlint:
710
name: 🧹 Markdown Lint

0 commit comments

Comments
 (0)