Skip to content

Commit 6244cbe

Browse files
authored
Set explicit permissions for GitHub Actions workflows (#758)
This change was made by an automated process to ensure all GitHub Actions workflows have explicitly defined permissions as per best practices.
1 parent dfef8ac commit 6244cbe

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.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)