Skip to content

Commit b2b85b1

Browse files
Potential fix for code scanning alert no. 1: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Tuan Duc Tran <tuanductran.dev@gmail.com>
1 parent 31e59ef commit b2b85b1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/validate-rules.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88

99
jobs:
1010
validate:
11+
permissions:
12+
contents: read
1113
runs-on: ubuntu-latest
1214

1315
steps:

0 commit comments

Comments
 (0)