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

Getting 403 pushing to repo in other org #3

Open
nafg opened this issue Oct 3, 2022 · 0 comments
Open

Getting 403 pushing to repo in other org #3

nafg opened this issue Oct 3, 2022 · 0 comments

Comments

@nafg
Copy link

nafg commented Oct 3, 2022

Thanks for this project.

I'm having trouble using it in another organization though. I generated it under nafg and it doesn't seem to work for Slick repos. Not sure if I need to add more permissions or what.

You can see logs here: https://github.com/nafg/nafg-scala-steward/actions/runs/3177284529/jobs/5177543604

2022-10-03 20:33:14,696 INFO  Executing post-update hook for io.github.nafg.mergify:sbt-mergify-github-actions with command 'sbt githubWorkflowGenerate'
  2022-10-03 20:33:29,689 INFO  Push 2 commit(s)
  2022-10-03 20:33:29,924 ERROR Steward slick/hello-slick failed
  java.io.IOException: 'GIT_ASKPASS=/home/runner/scala-steward/askpass.sh "SBT_OPTS=-Xmx2048m -Xss8m -XX:MaxMetaspaceSize=512m" git -c core.hooksPath=/dev/null push --force --set-upstream origin update/sbt-mergify-github-actions-0.6.0' exited with code 128
  remote: Permission to slick/hello-slick.git denied to nafg-scala-steward[bot].
  fatal: unable to access 'https://github.com/slick/hello-slick.git/': The requested URL returned error: 403
  
  	at org.scalasteward.core.io.process$.$anonfun$slurp$9(process.scala:54)
  	at org.scalasteward.core.io.process$.$anonfun$slurp$9$adapted(process.scala:50)
  	at blocking @ org.scalasteward.core.io.FileAlg$$anon$1.ensureExists(FileAlg.scala:100)
  	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
  	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
  	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
  	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
  	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
  	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
  	at modify @ fs2.internal.Scope.close(Scope.scala:262)
  	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
  	at rethrow$extension @ fs2.Compiler$Target.$anonfun$compile$1(Compiler.scala:157)
  	at get @ fs2.internal.Scope.openScope(Scope.scala:2[81](https://github.com/nafg/nafg-scala-steward/actions/runs/3177284529/jobs/5177543604#step:4:83))
  	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
  	at flatMap @ fs2.Pull$.$anonfun$compile$21(Pull.scala:11[82](https://github.com/nafg/nafg-scala-steward/actions/runs/3177284529/jobs/5177543604#step:4:84))
  	at update @ fs2.internal.Scope.releaseChildScope(Scope.scala:224)
  	at flatMap @ fs2.Compiler$Target.flatMap(Compiler.scala:163)
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

1 participant