Closed dwickern closed 3 months ago
Well, it's a different error at least
[error] remote: error: GH006: Protected branch update failed for refs/heads/gh-pages.
[error] remote: error: Required status check "typesafe-cla-validator" is expected.
[error] To https://github.com/sbt/sbt-native-packager
[error] ! [remote rejected] gh-pages -> gh-pages (protected branch hook declined)
[error] error: failed to push some refs to 'https://github.com/sbt/sbt-native-packager'
[error] Nonzero exit code (1) running git.
[error] (ghpagesPushSite) Nonzero exit code (1) running git.
Successfully published! 🎉 https://www.scala-sbt.org/sbt-native-packager/
I used b6c9142e88d4a868f49ed4a927053940982a2eea to test publishing from this PR. I'll drop the commit before merging. Importantly, I had to open this PR from the main repo and not my fork in order for Github Actions to have write permission. You can see the permissions granted by GITHUB_TOKEN
in the "Set up job" phase of the Github Actions job.
I made the following changes outside of this PR:
gh-pages
branchKNOWN_HOSTS
and SSH_KEY
secrets (in order to clean up the now unused secrets)Amazing work 🙏💪thanks a lot
Fixes #1597 Supersedes #1618
I'm opening this PR from this repository instead of my fork. Hopefully that will fix the permissions issue.