A site's icon is only ever saved inside the icons folder, and the translations check runs with no token

Fixes the code scanning alerts: a host made of dots got through the file name filter, and
the workflow didn't say it needs no permissions.
This commit is contained in:
Seb3thehacker committed 2026-11-11 13:24:34 -08:00
1 parent 80a5d68d4c
commit 8e1df8dc34
2 files changed
+17 -4

No files matched your search

+3
View File
@@ -9,6 +9,9 @@ on:
paths:
- "gearslip/src/main/res/values-*/strings.xml"
# It only reads the pull request's own details from the event, so it needs no token at all.
permissions: {}
jobs:
weblate-only:
if: github.event.pull_request.user.login != 'weblate'