mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 00:12:39 +00:00
ci: give the test, perf guard and branch image workflows a read-only token
This commit is contained in:
@@ -21,6 +21,10 @@ on:
|
||||
- ".github/workflows/docker-publish.yml"
|
||||
workflow_dispatch:
|
||||
|
||||
# Jobs that need more (the registry push, the attestation) say so themselves.
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
prepare:
|
||||
name: Prepare
|
||||
|
||||
@@ -9,6 +9,11 @@ on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
# The job builds and runs the checked-out code; a compromised step must not
|
||||
# hold a token that can write to the repository.
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
perf-guard:
|
||||
name: Perf guard
|
||||
|
||||
@@ -4,6 +4,11 @@ on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
# The job builds and runs the checked-out code; a compromised step must not
|
||||
# hold a token that can write to the repository.
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
vitest:
|
||||
name: Vitest
|
||||
|
||||
Reference in New Issue
Block a user