New actions fail on repo with fork
Closed this issue · 10 comments
In {styler}, I can't seem to make the action pass after replacing the Workflows with the templates from {touchstone}:
https://github.com/r-lib/styler/actions/runs/1699543116
Any idea why? There is a corresponding PR that shows passing but the comment from {touchstone} is missing. From the error message, it seems like the secrets context is missing.
I think we have to pass the token into the action explicitly (No idea why it worked during my tests...). I will create a quick patch for main.
Thanks @assignUser. With #99, still no luck. Now seems an unrelated {pak} problem. https://github.com/r-lib/styler/runs/4828086477?check_suite_focus=true.
ok, will try re-run.
Thanks for the issue 👍 .
And it failed again https://github.com/r-lib/styler/runs/4828631586?check_suite_focus=true... Hope this can be fixed or it's just by chance.
Ugh, that's annoying... I think it's by chance maybe some request times out? They are using RSPM for dependency resolution afaik so maybe somethings spotty there? I'll add that run to the issue.
It works! 🎉 r-lib/styler#868 (comment)
Indeed, it did 🥳. Let's see how it goes with the {pak} error in the future. I previously started using a more recent RSPM as you suggested.