-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Issue: Checkout fails on 0.2.22 - "Input required and not supplied: token" #678
Comments
Broken as of 0f04942 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Works great, thanks for your help! |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I updated the Homebrew formula, so now the HEAD version is available via |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
If I add the "with:" property I have the same token error, if I remove it works ok (using the latest version). jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: 'custom-branch' output:
|
@righel because then you want to checkout specific version instead of what you have in your workdir so you need token |
|
Just tested master branch with https://github.com/git-pile/playground/tree/f2e5a12a837896ce9087d6d087b693009f2f0e48 and it seems broken for me:
Note that in that workflow it's trying to checkout a specific branch of another (public) repository |
Trying it locally gives it the same error as above repo is private though
|
@Siddharth-Ashri repo I'm referencing is not private |
same error here |
if you checkout specific branch/commit/etc. token is required no matter if it's private or not
works for everyone else |
I had the same problem but running the workflow in dry mode and passing github token it works act -n -W my-workflow.yml -s GITHUB_TOKEN=$GITHUB_TOKEN |
Dryrun only checks for correctness (#268 (comment)), it does not run the workflow. |
How is this solved?
This issue should be re-opened. |
@epignatelli did you manage to resolve this, or do you still have that problem? I have this in my steps: - name: clone example
uses: actions/checkout@v3
with:
repository: public/repository Yields:
Maybe it changed with |
I'm on version The workaround is replacing |
Act version
Expected behaviour
The checkout action's behavior is different between 0.2.21 and 0.22.22. In 0.2.21, checkout seemed to
docker cp
the repository into the image rather than perform an actual checkout. This was desirable because local changes to actions and associated scripts were properly consumed without having to push them to the repository.Actual behaviour
act 0.2.22 actually checks out the repo. This has two immediate downsides:
Workflow and/or repository
My checkout action was this:
act
outputLog
Note: I'm new to using act and GitHub Actions, so please let me know if I should do something differently in my workflow.
The text was updated successfully, but these errors were encountered: