ci: fix workflow failures on PR

- drop permissions block from reusable build workflow so callers set token
  scope (fixes PR-checks startup failure: ci.yml grants only contents:read
  while the reusable demanded packages:write)
- remove codeql.yml: repo already uses CodeQL default setup, which conflicts
  with an advanced configuration
- pin trivy-action to 0.36.0 (0.28.0 tag does not exist; <0.35.0 is the
  compromised supply-chain release flagged by dependency-review)
- make pip-audit and npm audit informational (continue-on-error); they flag
  upstream/transitive advisories, dependency-review stays the PR gate
This commit is contained in:
3252a8
2026-05-30 23:14:46 +03:00
parent bd7710d03c
commit cda3b741a1
3 changed files with 12 additions and 52 deletions
+4 -3
View File
@@ -21,9 +21,10 @@ on:
type: string
required: true
permissions:
contents: read
packages: write
# No permissions block here on purpose: a reusable workflow cannot request more
# than its caller grants, so the token scope is set by each caller
# (docker-dev.yml / docker-release.yml grant packages: write to push; ci.yml
# only needs contents: read for a no-push build).
jobs:
build: