Closed YDX-2147483647 closed 1 year ago
Isn't it wonderful?! Thanks!
Hi - it appears the link in the PR content (https://github.com/Leedehai/typst-physics/releases/latest/download/physica-manual.pdf) doesn't work? It says "Not Found".
Really sorry for that… Release permission is not granted.
Research:
The link in my repo works. It says not found because the latest release (https://github.com/Leedehai/typst-physics/releases/tag/v0.7.5) does not contain the manual (the release wasn't created by ci).
I've checked the log of release ci in your repo. The run failed because GitHub responded with 403 Forbidden.
GitHub forbids untrusted workflows to create releases: https://github.com/softprops/action-gh-release/issues/236#issuecomment-1150530128, https://github.com/softprops/action-gh-release/issues/366#issuecomment-1605875364, …
Could you try the following solution?
Go to repo settings → (left bar) Actions → General → (scroll down) Workflow permissions , select Read and write permissions. Save.
If it's already selected, that's ok.
Add the following lines to .github/workflows/release.yml
. (or merge #10)
permissions:
contents: write
Kick the ci. For example:
$ git tag v0.7.5-alpha
$ git push origin v0.7.5-alpha
physics
→physica
. (-s → -a)Preview in my repo:
Fixes #8