Skip to content
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

failed at GitHub Release #34

Closed
bachig26 opened this issue Jun 25, 2024 · 2 comments
Closed

failed at GitHub Release #34

bachig26 opened this issue Jun 25, 2024 · 2 comments

Comments

@bachig26
Copy link

@yodaluca23
Hi, I tried the new workflow for building ipa with the tweak.
can you check this out.

https://github.com/bachig26/SpotC-Plus-Plus/actions/runs/9669123266/job/26674872185#step:44:46

Run softprops/action-gh-release@v2
  
πŸ‘©β€πŸ­ Creating new GitHub release for tag v2.1.4...
⚠️ GitHub release failed with status: 403
{"message":"Resource not accessible by integration","documentation_url":"https://docs.github.com/rest/releases/releases#create-a-release","status":"403"}
Skip retry β€” your GitHub token/PAT does not have the required permission to create a release
Error: Resource not accessible by integration
@yodaluca23
Copy link
Member

yodaluca23 commented Jun 25, 2024

@yodaluca23 Hi, I tried the new workflow for building ipa with the tweak. can you check this out.

bachig26/SpotC-Plus-Plus/actions/runs/9669123266/job/26674872185#step:44:46

Run softprops/action-gh-release@v2
  
πŸ‘©β€πŸ­ Creating new GitHub release for tag v2.1.4...
⚠️ GitHub release failed with status: 403
{"message":"Resource not accessible by integration","documentation_url":"https://docs.github.com/rest/releases/releases#create-a-release","status":"403"}
Skip retry β€” your GitHub token/PAT does not have the required permission to create a release
Error: Resource not accessible by integration

I don't really intend for people to use it, it was mostly for me to automate the release of each version...

It looks like your GitHub token is not authorized to make a new release on your repo?
Check your workflow permission have read and write:
https://user-images.githubusercontent.com/132504/171749365-d7ec9897-8f3c-4671-9b77-d3af5cb4fe19.png

If so try adding

permissions:
  contents: write-all

to the .yaml

softprops/action-gh-release#236
https://stackoverflow.com/questions/76362343/creating-a-release-using-github-action-fails-with-http-403

@bachig26
Copy link
Author

bachig26 commented Jun 25, 2024

I don't really intend for people to use it, it was mostly for me to automate the release of each version...

oh okay. i didn't know that. thanks anyway for providing the solution.
i'll be using your latest release everytime but i may try the latest tweaks or eeveespotify commits that comes in to see at 1st hand before their weekly packaging with your workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants