Skip to content

Add permissions to the specific scan job to try fixing trivy#763

Merged
illegalnumbers merged 1 commit intomasterfrom
ben/fix-trivy
Jun 25, 2024
Merged

Add permissions to the specific scan job to try fixing trivy#763
illegalnumbers merged 1 commit intomasterfrom
ben/fix-trivy

Conversation

@illegalnumbers
Copy link
Copy Markdown
Contributor

Motivation

The scheduled Trivy job on the master branch is failing, it looks like a permission issue. This PR adds in job specific permissions. Oddly though the global permissions should have worked, I'm making an assumption that the action has an issue or that the permissions are overrided.

Modifications

Add permissions to scheduled Trivy specific job.

Verifying this change

  • Make sure that the change passes the CI checks.

Documentation

Check the box below.

Need to update docs?

  • no-need-doc

CI change.

@illegalnumbers illegalnumbers requested review from a team, freeznet and nlu90 as code owners June 24, 2024 18:28
@github-actions github-actions bot added the no-need-doc This pr does not need any document label Jun 24, 2024
@illegalnumbers illegalnumbers merged commit 33c1a23 into master Jun 25, 2024
@illegalnumbers illegalnumbers deleted the ben/fix-trivy branch June 25, 2024 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-need-doc This pr does not need any document

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants