Hi there,
just a quick question in regard to the NS8 module template repository ns8-kickstart:
I’ve used it to initialize a new repository for trying if I’m able to build a module for integrating Vaultwarden password server.
However, on initializing the new repository the workflow “Repository initialization” throws following error:
2023-05-05T15:31:14.0449253Z [main f76c3ad] Repository initialization
2023-05-05T15:31:14.0452039Z 12 files changed, 47 insertions(+), 83 deletions(-)
2023-05-05T15:31:14.0452941Z delete mode 100644 .github/workflows/initialize-repo.yml
2023-05-05T15:31:14.0453848Z rename imageroot/systemd/user/{kickstart.service => vaultwarden.service} (57%)
2023-05-05T15:31:14.0454482Z rename tests/{kickstart.robot => vaultwarden.robot} (76%)
2023-05-05T15:31:14.2304176Z remote: Write access to repository not granted.
2023-05-05T15:31:14.2305839Z fatal: unable to access 'https://github.com/chrkli/ns8-vaultwarden/': The requested URL returned error: 403
2023-05-05T15:31:14.2332720Z ##[error]Process completed with exit code 128.
I did not know anything about Github actions until now, but I’ve found the following piece of information on the net: Solution to Process completed with exit code 128 on GitHub Actions - Everything I Know
So i’ve forked the ns8-kickstart, added the mentioned two lines of code to the file .github/workflows/initialize-repo.yml.
→ see changes in forked template
At least, the workflow got a bit further before bailing out on another missing permission:
[remote rejected] main -> main (refusing to allow a GitHub App to create or update workflow
.github/workflows/clean-registry.ymlwithout
workflows permission)
→ see full log of workflow run
I found the following github actions documentation on job permissions
However, there is no permission named ‘workflow’ mentioned.
Also, putting
permission: write-all
inside .github/workflows/
did not help to solve the issue.
Does anybody has some idea on how to proceed further? Or am I just to blind to see the easy solution?
Thanks and best regards
Christoph