mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-utils.git
synced 2026-10-20 18:56:26 +00:00
fix(ci): read-only token for Code Quality (#74)
code-quality.yml had no permissions block, so its jobs got the repository default token. None of them writes through GITHUB_TOKEN; permissions: contents: read (CodeQL actions/missing-workflow-permissions #1-#4).
This commit is contained in:
1 parent
d7585a346c
commit
14604b2612
1 file changed
+5
@@ -6,6 +6,11 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
|
|
||||||
|
# Read-only token: Code Quality never writes through GITHUB_TOKEN.
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
python-lint:
|
python-lint:
|
||||||
name: Python Lint
|
name: Python Lint
|
||||||
|
|||||||
Reference in new issue
Block a user