Skip to content

Commit e451ec7

Browse files
committed
Set explicit permissions for GitHub Actions workflows
This change was made by an automated process to ensure all GitHub Actions workflows have explicitly defined permissions as per best practices.
1 parent 626bf03 commit e451ec7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: "Continuous Integration"
22
on: [push, pull_request]
3+
permissions:
4+
contents: read
35

46
jobs:
57
validation:
@@ -47,4 +49,4 @@ jobs:
4749
uses: gradle/actions/setup-gradle@v3
4850

4951
- name: Run copyright and code format checks
50-
run: ./gradlew --no-daemon spotlessCheck
52+
run: ./gradlew --no-daemon spotlessCheck

0 commit comments

Comments
 (0)