Skip to content

Commit 2d5da3c

Browse files
AdnaneKhanbrmur
authored andcommitted
Scope down GitHub token permissions for lint-javascript.yml
1 parent e8bb6f2 commit 2d5da3c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/lint-javascript.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on: # yamllint disable-line rule:truthy
44
pull_request:
55
workflow_dispatch:
66

7+
8+
permissions:
9+
contents: read
10+
711
jobs:
812
lint:
913
name: Lint Javascript

0 commit comments

Comments
 (0)