mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-09 10:33:37 -05:00
Add explicit permissions
Signed-off-by: Brett Logan <lindluni@github.com>
This commit is contained in:
parent
37b6ff9a3f
commit
07c894f89e
2 changed files with 6 additions and 0 deletions
3
.github/workflows/deploy-production.yml
vendored
3
.github/workflows/deploy-production.yml
vendored
|
@ -9,6 +9,9 @@ jobs:
|
||||||
build:
|
build:
|
||||||
name: Build, test, and eventually push the container image
|
name: Build, test, and eventually push the container image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|
3
.github/workflows/deploy-release.yml
vendored
3
.github/workflows/deploy-release.yml
vendored
|
@ -15,6 +15,9 @@ jobs:
|
||||||
build:
|
build:
|
||||||
name: Deploy container image - Release
|
name: Deploy container image - Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|
Loading…
Reference in a new issue