1
0
mirror of https://github.com/tommytran732/Matrix.to-Docker synced 2024-11-22 18:11:32 -05:00

More granular permission control

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-06-12 01:07:46 -07:00
parent 3345c8bbe7
commit fc894556bb
Signed by: Tomster
GPG Key ID: 555C902A34EC968F
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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