Skip to content

Commit 04fc152

Browse files
Copilothotlong
andcommitted
Fix security: Add explicit permissions to changeset-check workflow
- Add contents: read permission to changeset-check.yml - Addresses CodeQL security recommendation for workflow permissions Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 8ae83d6 commit 04fc152

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/changeset-check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
pull_request:
55
types: [opened, synchronize, reopened, labeled, unlabeled]
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
check:
912
name: Check for Changeset

0 commit comments

Comments
 (0)