Skip to content

Commit de00c6f

Browse files
authored
Merge pull request #22 from k2so-dev/alert-autofix-2
Potential fix for code scanning alert no. 2: Workflow does not contain permissions
2 parents 0bd6c63 + 9a0283a commit de00c6f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/laravel.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
1+
permissions:
2+
contents: read
13
name: Laravel
24

35
on:
46
push:
57
branches: [ "main" ]
68
paths:
9+
- '.github/workflows/laravel.yml'
710
- 'app/**'
811
- 'config/**'
912
- 'tests/**'
1013
- 'routes/**'
1114
pull_request:
1215
branches: [ "main" ]
1316
paths:
17+
- '.github/workflows/laravel.yml'
1418
- 'app/**'
1519
- 'config/**'
1620
- 'tests/**'

0 commit comments

Comments
 (0)