ci: read-only GITHUB_TOKEN for backend and frontend CI (#13)

CodeQL actions/missing-workflow-permissions #1-#3: neither workflow writes through GITHUB_TOKEN (checkout, toolchain, cache, upload-artifact).
This commit is contained in:
SatoshiQaziMuhammed authored and GitHub committed 2026-10-21 13:39:02 +04:00
1 parent 27366cafe5
commit fd87b1cce2
2 files changed
+10

No files matched your search

+5
View File
@@ -16,6 +16,11 @@ on:
env:
CARGO_TERM_COLOR: always
# Read-only token: no step writes through GITHUB_TOKEN.
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
+5
View File
@@ -13,6 +13,11 @@ on:
- '.github/workflows/frontend-ci.yml'
workflow_dispatch:
# Read-only token: no step writes through GITHUB_TOKEN.
permissions:
contents: read
jobs:
lint-and-test:
runs-on: ubuntu-latest