Skip to content

Update permissions to create mvn dependency graph - #187

Merged
n1ckl0sk0rtge merged 1 commit into
mainfrom
fix/premission-error-for-writing-mvn-dependency-graph
May 12, 2025
Merged

n1ckl0sk0rtge merged 1 commit into
mainfrom
fix/premission-error-for-writing-mvn-dependency-graph

Conversation

@n1ckl0sk0rtge

Copy link
Copy Markdown
Contributor

Set contents permission to write

https://github.com/advanced-security/maven-dependency-submission-action

This action writes informations in the repository dependency graph, so if you are using the default token, you need to set the contents: write permission to the workflow or job. If you are using a personal access token, this token must have the repo scope. (API used by this action)

Signed-off-by: Nicklas Körtge <[email protected]>
@n1ckl0sk0rtge n1ckl0sk0rtge self-assigned this May 12, 2025
@n1ckl0sk0rtge
n1ckl0sk0rtge requested a review from a team May 12, 2025 14:19
@n1ckl0sk0rtge n1ckl0sk0rtge added bug Something isn't working github_actions Pull requests that update GitHub Actions code labels May 12, 2025

@san-zrl san-zrl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to have some default.

@n1ckl0sk0rtge
n1ckl0sk0rtge merged commit eaa7d7e into main May 12, 2025
@n1ckl0sk0rtge
n1ckl0sk0rtge deleted the fix/premission-error-for-writing-mvn-dependency-graph branch May 12, 2025 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants