ci: restrict default GITHUB_TOKEN permissions to contents: read

None of these workflows write through GITHUB_TOKEN: artifact upload,
Firebase, S3, Play Store, gh-pages and the Appium dispatch all use their
own credentials. Reusable workflows they call inherit the same cap.
This commit is contained in:
Satoshi Qazi Muhammed committed 2026-10-02 21:16:56 +04:00
1 parent 43147deba6
commit 77314c8901
7 files changed
+21

No files matched your search

+3
View File
@@ -29,6 +29,9 @@ env:
DEBUG_GOOGLE_OAUTH_ID: ${{ secrets.DEBUG_GOOGLE_OAUTH_ID }}
RELEASE_GOOGLE_OAUTH_ID: ${{ secrets.RELEASE_GOOGLE_OAUTH_ID }}
permissions:
contents: read
jobs:
ktlint:
name: Kotlin Lint