-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Error running locally using act: ACTION_TOKEN variable not set #110
Comments
Are you running this on Github or a self-hosted runner? |
I'm using |
Ok thank you. It would be super useful to use act, so I'll try and replicate and figure out a fix, but I've never had much luck with act - it "feels" like GitHub actions, but it isn't really running anything official and there are lots of gaps, in my experience. |
Thank you for your patience @g105b. Until now I've found |
After some digging and research on my end, I've found a solution - It's essentially an extra step needed in running act with this, or any other action that needs an ACTION_TOKEN. Some relevant links:
I have act installed as a github cli extension, so the solution for me was to simply add If you don't use it as a github cli extension, it looks like you can also resolve this by:
|
Thank you so much @SierraKomodo. I hadn't used ACT personally, so this will really help me get going, and once I've learnt how to use it I'll add some documentation to this repo for future ACT users. |
Running the following causes the workflow to fail with the error in the subject:
I tried adding
ACTION_TOKEN
as an env variable but it still doesn't work:The action does NOT work even removing all optional parameters:
The text was updated successfully, but these errors were encountered: