You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Wenzel Because of your bug and ChrstopherHX's comment, I searched the usage guide and found a section dealing with this. On the Usage page https://nektosact.com/usage/index.html search for GITHUB_TOKEN.
It's a bit counter-intuitive to me that this case needs an auth token, but if you have the gh cli installed then the solution's this simple act -s GITHUB_TOKEN="$(gh auth token)"
Bug report info
Command used with act
Describe issue
I'm facing an issue with act when running any job that tries to clone a repository with
actions/checkout
while specifying theref
parameter.Link to GitHub repository
https://github.com/Wenzel/bug_report/tree/act/checkout_ref_error
Workflow content
Relevant log output
Additional information
When the ref parameter is removed, act works fine and actions/checkout manages to clone the repo.
Link the failed workflow run for reproducibility:
https://github.com/Wenzel/bug_report/actions/runs/8645464938/job/23702674057
Thanks for act !
The text was updated successfully, but these errors were encountered: