-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add token for setup-trivy
#421
feat: add token for setup-trivy
#421
Conversation
action.yaml
Outdated
uses: aquasecurity/setup-trivy@v0.2.1 | ||
uses: DmitriyLewen/setup-trivy@2df9f605c29dbee29f7c66a8151e3b97f0874f5d |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note that we should bump this to the next release when the other PR gets merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. I used my fork to test the changes.
After setup-trivy
is released - I will update this line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in -9960a61
Description
There are cases when we need to overwrite token for
actions/checkout
insetup-trivy
.e.g. GHES - #418, aquasecurity/setup-trivy#10
So we need to add a
token-setup-trivy
input to add the ability to override the defaulttoken
.test runs:
token-setup-trivy
- https://github.com/DmitriyLewen/test-trivy-action/actions/runs/11493317116token-setup-trivy
with read perms only - https://github.com/DmitriyLewen/test-trivy-action/actions/runs/11493314425token-setup-trivy
is not specified - https://github.com/DmitriyLewen/test-trivy-action/actions/runs/11493303718Related Issues
Related PRs
token
input and pingithub-server-url
setup-trivy#12