Node.js based forum software built for the modern web
ci: add minimum GitHub token permissions for workflows Signed-off-by: Ashish Kurmi <[email protected]>
Ashish Kurmife0020fb31e6
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.ymlindex 01ca27e133..a901a4ee46 100644--- a/.github/workflows/docker.yml+++ b/.github/workflows/docker.yml@@ -11,6 +11,9 @@ on:workflow_dispatch:# A workflow run is made up of one or more jobs that can run sequentially or in parallel+permissions:+ contents: read+jobs:release:runs-on: ubuntu-latestdiff --git a/.github/workflows/test.yaml b/.github/workflows/test.yamlindex 225615aa72..df9e180c78 100644--- a/.github/workflows/test.yaml+++ b/.github/workflows/test.yaml@@ -14,8 +14,14 @@ defaults:run:shell: bash+permissions:+ contents: read+jobs:test:+ permissions:+ checks: write # for coverallsapp/github-action to create new checks+ contents: read # for actions/checkout to fetch codename: Lint and teststrategy:fail-fast: false@@ -194,6 +200,8 @@ jobs:parallel: truefinish:+ permissions:+ checks: write # for coverallsapp/github-action to create new checksneeds: testruns-on: ubuntu-lateststeps: