mirror of
https://github.com/tommytran732/Matrix.to-Docker
synced 2024-11-22 10:01:34 -05:00
More granular permission control
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
3345c8bbe7
commit
fc894556bb
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -70,6 +70,8 @@ jobs:
|
|||||||
scan:
|
scan:
|
||||||
name: Scan current image & report results
|
name: Scan current image & report results
|
||||||
needs: build
|
needs: build
|
||||||
|
permissions:
|
||||||
|
security-events: write
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
steps:
|
steps:
|
||||||
- name: Run Trivy vulnerability scanner
|
- name: Run Trivy vulnerability scanner
|
||||||
|
2
.github/workflows/scan.yml
vendored
2
.github/workflows/scan.yml
vendored
@ -9,6 +9,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
scan:
|
scan:
|
||||||
name: Scan current image & report results
|
name: Scan current image & report results
|
||||||
|
permissions:
|
||||||
|
security-events: write
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
steps:
|
steps:
|
||||||
- name: Run Trivy vulnerability scanner
|
- name: Run Trivy vulnerability scanner
|
||||||
|
Loading…
Reference in New Issue
Block a user