-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Submission failed, and "403 Forbidden" is reported #158
Comments
Hi @ckipp01 . Yes, I have confirmed. The screenshot is attached. |
Are there any configurations (such as tokens) that need to be set up? |
Hi, @ckipp01 . I have read some issues in other similar repositories for the dependency graph generation. In this issue, they mentioned that the private repositories can submit graph dependencies only if they have activated a GitHub's paid feature (GHAS). You can consider optimizing the error message output like what they have done in the above issue. So that the users can get necessary information. |
@ckipp01 , I solve this problem by adding these two lines into my workflow yaml. # The API requires write permission on the repository to submit dependencies
permissions:
contents: write So that the GITHUB_TOKEN has the write permission. You may consider adding this to your README. |
Hey @zhutmost, sure feel free to send in a pr adding this. However I'd recommend adding it to the readme in https://github.com/ckipp01/mill-dependency-submission. |
First thanks for your great jobs.
I use the same action yaml in your README, but it fails. The log shows little information, so that I don't know what happened.
It reported a 403 forbidden bug. The action log is as follows.
The text was updated successfully, but these errors were encountered: