mirror of
https://github.com/twinksoftware/Gearslip.git
synced 2026-11-12 00:32:26 +01:00
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:
1 parent
80a5d68d4c
commit
8e1df8dc34
2 files changed
+17
-4
No files matched your search
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user