[GH-ISSUE #684] Issue: Sample repo does not build #436

Closed
opened 2026-03-01 21:43:23 +03:00 by kerem · 1 comment
Owner

Originally created by @corwin-of-amber on GitHub (May 16, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/684

Act version

act version 0.2.22

Expected behaviour

act should build the sample job.

Actual behaviour

Fails.

[CI/test] 🚀  Start image=catthehacker/ubuntu:act-latest
[CI/test]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[CI/test] ⭐  Run actions/checkout@v2
[CI/test]   ☁  git clone 'https://github.com/actions/checkout' # ref=v2
[CI/test]   🐳  docker cp src=/Users/corwin/.cache/act/actions-checkout@v2/ dst=/Users/corwin/var/tut/github-actions-demo/_actions/actions-checkout@v2/
[CI/test]   ❓  ::save-state name=isPost,::true
[CI/test]   💬  ::debug::GITHUB_WORKSPACE = '/Users/corwin/var/tut/github-actions-demo'
[CI/test]   💬  ::debug::qualified repository = 'cplee/github-actions-demo'
[CI/test]   💬  ::debug::ref = 'refs/heads/master'
[CI/test]   💬  ::debug::commit = '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'
[CI/test]   💬  ::debug::clean = true
[CI/test]   💬  ::debug::fetch depth = 1
[CI/test]   💬  ::debug::lfs = false
[CI/test]   💬  ::debug::submodules = false
[CI/test]   💬  ::debug::recursive submodules = false
[CI/test]   ❗  ::error::Input required and not supplied: token
[CI/test]   ❌  Failure - actions/checkout@v2
Error: exit with `FAILURE`: 1

Workflow and/or repository

https://github.com/cplee/github-actions-demo

Steps to reproduce

act output

Log
time="2021-05-16T23:02:47+03:00" level=debug msg="Loading environment from /Users/corwin/var/tut/github-actions-demo/.env"
time="2021-05-16T23:02:47+03:00" level=debug msg="Loading secrets from /Users/corwin/var/tut/github-actions-demo/.secrets"
time="2021-05-16T23:02:47+03:00" level=debug msg="Loading workflows from '/Users/corwin/var/tut/github-actions-demo/.github/workflows'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Loading workflows recursively"
time="2021-05-16T23:02:47+03:00" level=debug msg="Found workflow '.main.yml.swp' in '/Users/corwin/var/tut/github-actions-demo/.github/workflows/.main.yml.swp'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Found workflow 'main.yml' in '/Users/corwin/var/tut/github-actions-demo/.github/workflows/main.yml'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reading workflow '/Users/corwin/var/tut/github-actions-demo/.github/workflows/main.yml'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Correcting if statements '/Users/corwin/var/tut/github-actions-demo/.github/workflows/main.yml'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Planning event: push"
time="2021-05-16T23:02:47+03:00" level=debug msg="Loading slug from git directory '/Users/corwin/var/tut/github-actions-demo/.git'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2021-05-16T23:02:47+03:00" level=debug msg="Loading revision from git directory '/Users/corwin/var/tut/github-actions-demo/.git'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2021-05-16T23:02:47+03:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/heads/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/HEAD sha=0000000000000000000000000000000000000000"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/hosted-git-info-2.8.9 sha=8e9a408809550c76b64bed9059fb5a39eef8dff0"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/lodash-4.17.21 sha=5b25f175d41460b6cb6f974d7b45984c67402e98"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=HEAD sha=0000000000000000000000000000000000000000"
time="2021-05-16T23:02:47+03:00" level=debug msg="using github ref: refs/heads/master"
time="2021-05-16T23:02:47+03:00" level=debug msg="context env => map[ACT:true]"
[CI/test] 🚀  Start image=catthehacker/ubuntu:act-latest
time="2021-05-16T23:02:47+03:00" level=debug msg="Loading slug from git directory '/Users/corwin/var/tut/github-actions-demo/.git'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2021-05-16T23:02:47+03:00" level=debug msg="Loading revision from git directory '/Users/corwin/var/tut/github-actions-demo/.git'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2021-05-16T23:02:47+03:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/heads/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/HEAD sha=0000000000000000000000000000000000000000"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/hosted-git-info-2.8.9 sha=8e9a408809550c76b64bed9059fb5a39eef8dff0"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/lodash-4.17.21 sha=5b25f175d41460b6cb6f974d7b45984c67402e98"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=HEAD sha=0000000000000000000000000000000000000000"
time="2021-05-16T23:02:47+03:00" level=debug msg="using github ref: refs/heads/master"
[CI/test]   🐳  docker pull catthehacker/ubuntu:act-latest
time="2021-05-16T23:02:47+03:00" level=debug msg="Image exists? true"
[CI/test] Removed container: f02284b4e1a446ce655ba78dfc29d96726d988159ef49482fe116844c63f0482
[CI/test]   🐳  docker volume rm act-CI-test
[CI/test]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[CI/test] Created container name=act-CI-test id=beb524b014ec3ca6460345018df8c7fa35d61524b15d5dd4bc1f3e706cdc4c50 from image catthehacker/ubuntu:act-latest (platform: )
[CI/test] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[CI/test]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[CI/test] Starting container: beb524b014ec3ca6460345018df8c7fa35d61524b15d5dd4bc1f3e706cdc4c50
[CI/test] Started container: beb524b014ec3ca6460345018df8c7fa35d61524b15d5dd4bc1f3e706cdc4c50
time="2021-05-16T23:02:47+03:00" level=debug msg="Writing entry to tarball workflow/event.json len:2"
time="2021-05-16T23:02:47+03:00" level=debug msg="Writing entry to tarball workflow/envs.txt len:0"
time="2021-05-16T23:02:47+03:00" level=debug msg="Writing entry to tarball workflow/paths.txt len:0"
[CI/test] Extracting content to '/tmp/'
time="2021-05-16T23:02:47+03:00" level=debug msg="Loading slug from git directory '/Users/corwin/var/tut/github-actions-demo/.git'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2021-05-16T23:02:47+03:00" level=debug msg="Loading revision from git directory '/Users/corwin/var/tut/github-actions-demo/.git'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2021-05-16T23:02:47+03:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/heads/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/HEAD sha=0000000000000000000000000000000000000000"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/hosted-git-info-2.8.9 sha=8e9a408809550c76b64bed9059fb5a39eef8dff0"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/lodash-4.17.21 sha=5b25f175d41460b6cb6f974d7b45984c67402e98"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=HEAD sha=0000000000000000000000000000000000000000"
time="2021-05-16T23:02:47+03:00" level=debug msg="using github ref: refs/heads/master"
time="2021-05-16T23:02:47+03:00" level=debug msg="Loading slug from git directory '/Users/corwin/var/tut/github-actions-demo/.git'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2021-05-16T23:02:47+03:00" level=debug msg="Loading revision from git directory '/Users/corwin/var/tut/github-actions-demo/.git'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2021-05-16T23:02:47+03:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/heads/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/HEAD sha=0000000000000000000000000000000000000000"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/hosted-git-info-2.8.9 sha=8e9a408809550c76b64bed9059fb5a39eef8dff0"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/lodash-4.17.21 sha=5b25f175d41460b6cb6f974d7b45984c67402e98"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=HEAD sha=0000000000000000000000000000000000000000"
time="2021-05-16T23:02:47+03:00" level=debug msg="using github ref: refs/heads/master"
time="2021-05-16T23:02:47+03:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin\" RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-05-16T23:02:47+03:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/tmp/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/tmp/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:test GITHUB_PATH:/tmp/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:cplee/github-actions-demo GITHUB_REPOSITORY_OWNER:cplee GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:5c6f585b1f9d8526c8e1672c5f8f00883b895d93 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/Users/corwin/var/tut/github-actions-demo IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
[CI/test] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/tmp/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/tmp/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:test GITHUB_PATH:/tmp/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:cplee/github-actions-demo GITHUB_REPOSITORY_OWNER:cplee GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:5c6f585b1f9d8526c8e1672c5f8f00883b895d93 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/Users/corwin/var/tut/github-actions-demo IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[CI/test] ⭐  Run actions/checkout@v2
time="2021-05-16T23:02:47+03:00" level=debug msg="Loading slug from git directory '/Users/corwin/var/tut/github-actions-demo/.git'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2021-05-16T23:02:47+03:00" level=debug msg="Loading revision from git directory '/Users/corwin/var/tut/github-actions-demo/.git'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n"
time="2021-05-16T23:02:47+03:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/heads/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/HEAD sha=0000000000000000000000000000000000000000"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/hosted-git-info-2.8.9 sha=8e9a408809550c76b64bed9059fb5a39eef8dff0"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/lodash-4.17.21 sha=5b25f175d41460b6cb6f974d7b45984c67402e98"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93"
time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=HEAD sha=0000000000000000000000000000000000000000"
time="2021-05-16T23:02:47+03:00" level=debug msg="using github ref: refs/heads/master"
[CI/test]   ☁  git clone 'https://github.com/actions/checkout' # ref=v2
[CI/test]   cloning https://github.com/actions/checkout to /Users/corwin/.cache/act/actions-checkout@v2
[CI/test] Cloned https://github.com/actions/checkout to /Users/corwin/.cache/act/actions-checkout@v2
[CI/test] Checked out v2
time="2021-05-16T23:02:48+03:00" level=debug msg="Read action &{Checkout  Checkout a Git repository at a particular version map[clean:{Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching false true} fetch-depth:{Number of commits to fetch. 0 indicates all history for all branches and tags. false 1} lfs:{Whether to download Git-LFS files false false} path:{Relative path under $GITHUB_WORKSPACE to place the repository false } persist-credentials:{Whether to configure the token or SSH key with the local git config false true} ref:{The branch, tag or SHA to checkout. When checking out the repository that triggered a workflow, this defaults to the reference or SHA for that event.  Otherwise, uses the default branch.\n false } repository:{Repository name with owner. For example, actions/checkout false ${{ github.repository }}} ssh-key:{SSH key used to fetch the repository. The SSH key is configured with the local git config, which enables your scripts to run authenticated git commands. The post-job step removes the SSH key.\n\nWe recommend using a service account with the least permissions necessary.\n\n[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)\n false } ssh-known-hosts:{Known hosts in addition to the user and global host key database. The public SSH keys for a host may be obtained using the utility `ssh-keyscan`. For example, `ssh-keyscan github.com`. The public key for github.com is always implicitly added.\n false } ssh-strict:{Whether to perform strict host key checking. When true, adds the options `StrictHostKeyChecking=yes` and `CheckHostIP=no` to the SSH command line. Use the input `ssh-known-hosts` to configure additional hosts.\n false true} submodules:{Whether to checkout submodules: `true` to checkout submodules or `recursive` to recursively checkout submodules.\n\nWhen the `ssh-key` input is not provided, SSH URLs beginning with `git@github.com:` are converted to HTTPS.\n false false} token:{Personal access token (PAT) used to fetch the repository. The PAT is configured with the local git config, which enables your scripts to run authenticated git commands. The post-job step removes the PAT.\n\nWe recommend using a service account with the least permissions necessary. Also when generating a new PAT, select the least scopes necessary.\n\n[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)\n false ${{ github.token }}}] map[] {node12 map[] dist/index.js  [] [] []} { }} from '/Users/corwin/.cache/act/actions-checkout@v2/action.yml'"
time="2021-05-16T23:02:48+03:00" level=debug msg="About to run action &{Checkout  Checkout a Git repository at a particular version map[clean:{Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching false true} fetch-depth:{Number of commits to fetch. 0 indicates all history for all branches and tags. false 1} lfs:{Whether to download Git-LFS files false false} path:{Relative path under $GITHUB_WORKSPACE to place the repository false } persist-credentials:{Whether to configure the token or SSH key with the local git config false true} ref:{The branch, tag or SHA to checkout. When checking out the repository that triggered a workflow, this defaults to the reference or SHA for that event.  Otherwise, uses the default branch.\n false } repository:{Repository name with owner. For example, actions/checkout false ${{ github.repository }}} ssh-key:{SSH key used to fetch the repository. The SSH key is configured with the local git config, which enables your scripts to run authenticated git commands. The post-job step removes the SSH key.\n\nWe recommend using a service account with the least permissions necessary.\n\n[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)\n false } ssh-known-hosts:{Known hosts in addition to the user and global host key database. The public SSH keys for a host may be obtained using the utility `ssh-keyscan`. For example, `ssh-keyscan github.com`. The public key for github.com is always implicitly added.\n false } ssh-strict:{Whether to perform strict host key checking. When true, adds the options `StrictHostKeyChecking=yes` and `CheckHostIP=no` to the SSH command line. Use the input `ssh-known-hosts` to configure additional hosts.\n false true} submodules:{Whether to checkout submodules: `true` to checkout submodules or `recursive` to recursively checkout submodules.\n\nWhen the `ssh-key` input is not provided, SSH URLs beginning with `git@github.com:` are converted to HTTPS.\n false false} token:{Personal access token (PAT) used to fetch the repository. The PAT is configured with the local git config, which enables your scripts to run authenticated git commands. The post-job step removes the PAT.\n\nWe recommend using a service account with the least permissions necessary. Also when generating a new PAT, select the least scopes necessary.\n\n[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)\n false ${{ github.token }}}] map[] {node12 map[] dist/index.js  [] [] []} { }}"
time="2021-05-16T23:02:48+03:00" level=debug msg="Evaluating 'github['token']' instead of 'github.token'"
time="2021-05-16T23:02:48+03:00" level=debug msg="Evaluating 'github['repository']' instead of 'github.repository'"
time="2021-05-16T23:02:48+03:00" level=debug msg="type=3 actionDir=/Users/corwin/.cache/act/actions-checkout@v2 actionPath= Workdir=/Users/corwin/var/tut/github-actions-demo ActionCacheDir=/Users/corwin/.cache/act actionName=actions-checkout@v2 containerActionDir=/Users/corwin/var/tut/github-actions-demo/_actions/actions-checkout@v2"
time="2021-05-16T23:02:48+03:00" level=debug msg="Removing /Users/corwin/.cache/act/actions-checkout@v2/.gitignore before docker cp"
[CI/test]   🐳  docker cp src=/Users/corwin/.cache/act/actions-checkout@v2/ dst=/Users/corwin/var/tut/github-actions-demo/_actions/actions-checkout@v2/
[CI/test] Exec command '[mkdir -p /Users/corwin/var/tut/github-actions-demo/_actions/actions-checkout@v2/]'
time="2021-05-16T23:02:48+03:00" level=debug msg="Writing tarball /var/folders/8d/07cvxrb923vcchrx0xyn16p80000gn/T/act208417053 from /Users/corwin/.cache/act/actions-checkout@v2/"
time="2021-05-16T23:02:48+03:00" level=debug msg="Stripping prefix:/Users/corwin/.cache/act/actions-checkout@v2/ src:/Users/corwin/.cache/act/actions-checkout@v2/"
[CI/test] Extracting content from '/var/folders/8d/07cvxrb923vcchrx0xyn16p80000gn/T/act208417053' to '/Users/corwin/var/tut/github-actions-demo/_actions/actions-checkout@v2/'
time="2021-05-16T23:02:48+03:00" level=debug msg="executing remote job container: [node /Users/corwin/var/tut/github-actions-demo/_actions/actions-checkout@v2/dist/index.js]"
[CI/test] Exec command '[node /Users/corwin/var/tut/github-actions-demo/_actions/actions-checkout@v2/dist/index.js]'
[CI/test]   ❓  ::save-state name=isPost,::true
[CI/test]   💬  ::debug::GITHUB_WORKSPACE = '/Users/corwin/var/tut/github-actions-demo'
[CI/test]   💬  ::debug::qualified repository = 'cplee/github-actions-demo'
[CI/test]   💬  ::debug::ref = 'refs/heads/master'
[CI/test]   💬  ::debug::commit = '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'
[CI/test]   💬  ::debug::clean = true
[CI/test]   💬  ::debug::fetch depth = 1
[CI/test]   💬  ::debug::lfs = false
[CI/test]   💬  ::debug::submodules = false
[CI/test]   💬  ::debug::recursive submodules = false
[CI/test]   ❗  ::error::Input required and not supplied: token
[CI/test]   ❌  Failure - actions/checkout@v2
time="2021-05-16T23:02:48+03:00" level=debug msg="exit with `FAILURE`: 1"
time="2021-05-16T23:02:48+03:00" level=debug msg="exit with `FAILURE`: 1"
time="2021-05-16T23:02:48+03:00" level=debug msg="exit with `FAILURE`: 1"
time="2021-05-16T23:02:48+03:00" level=debug msg="exit with `FAILURE`: 1"
Error: exit with `FAILURE`: 1
Originally created by @corwin-of-amber on GitHub (May 16, 2021). Original GitHub issue: https://github.com/nektos/act/issues/684 <!-- - Make sure you are able to reproduce it on the [latest version](https://github.com/nektos/act/releases) - Search the existing issues. - Refer to [README](https://github.com/nektos/act/blob/master/README.md). --> ## Act version <!-- - Paste output of `act --version` inside the code block below - If you've built `act` yourself, please provide commit hash --> ```none act version 0.2.22 ``` ## Expected behaviour `act` should build the sample job. ## Actual behaviour <!-- - Describe the issue --> Fails. ``` [CI/test] 🚀 Start image=catthehacker/ubuntu:act-latest [CI/test] 🐳 docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [CI/test] ⭐ Run actions/checkout@v2 [CI/test] ☁ git clone 'https://github.com/actions/checkout' # ref=v2 [CI/test] 🐳 docker cp src=/Users/corwin/.cache/act/actions-checkout@v2/ dst=/Users/corwin/var/tut/github-actions-demo/_actions/actions-checkout@v2/ [CI/test] ❓ ::save-state name=isPost,::true [CI/test] 💬 ::debug::GITHUB_WORKSPACE = '/Users/corwin/var/tut/github-actions-demo' [CI/test] 💬 ::debug::qualified repository = 'cplee/github-actions-demo' [CI/test] 💬 ::debug::ref = 'refs/heads/master' [CI/test] 💬 ::debug::commit = '5c6f585b1f9d8526c8e1672c5f8f00883b895d93' [CI/test] 💬 ::debug::clean = true [CI/test] 💬 ::debug::fetch depth = 1 [CI/test] 💬 ::debug::lfs = false [CI/test] 💬 ::debug::submodules = false [CI/test] 💬 ::debug::recursive submodules = false [CI/test] ❗ ::error::Input required and not supplied: token [CI/test] ❌ Failure - actions/checkout@v2 Error: exit with `FAILURE`: 1 ``` ## Workflow and/or repository https://github.com/cplee/github-actions-demo ## Steps to reproduce <!-- - Make sure to include full command with parameters you used to run `act`, example: 1. Clone example repo (https://github.com/cplee/github-actions-demo) 2. Enter cloned repo directory 3. Run `act -s SUPER_SECRET=im-a-value` --> ## `act` output <!-- - Use `act` with `-v`/`--verbose` and paste output from your terminal in code block below --> <details> <summary>Log</summary> ```none time="2021-05-16T23:02:47+03:00" level=debug msg="Loading environment from /Users/corwin/var/tut/github-actions-demo/.env" time="2021-05-16T23:02:47+03:00" level=debug msg="Loading secrets from /Users/corwin/var/tut/github-actions-demo/.secrets" time="2021-05-16T23:02:47+03:00" level=debug msg="Loading workflows from '/Users/corwin/var/tut/github-actions-demo/.github/workflows'" time="2021-05-16T23:02:47+03:00" level=debug msg="Loading workflows recursively" time="2021-05-16T23:02:47+03:00" level=debug msg="Found workflow '.main.yml.swp' in '/Users/corwin/var/tut/github-actions-demo/.github/workflows/.main.yml.swp'" time="2021-05-16T23:02:47+03:00" level=debug msg="Found workflow 'main.yml' in '/Users/corwin/var/tut/github-actions-demo/.github/workflows/main.yml'" time="2021-05-16T23:02:47+03:00" level=debug msg="Reading workflow '/Users/corwin/var/tut/github-actions-demo/.github/workflows/main.yml'" time="2021-05-16T23:02:47+03:00" level=debug msg="Correcting if statements '/Users/corwin/var/tut/github-actions-demo/.github/workflows/main.yml'" time="2021-05-16T23:02:47+03:00" level=debug msg="Planning event: push" time="2021-05-16T23:02:47+03:00" level=debug msg="Loading slug from git directory '/Users/corwin/var/tut/github-actions-demo/.git'" time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2021-05-16T23:02:47+03:00" level=debug msg="Loading revision from git directory '/Users/corwin/var/tut/github-actions-demo/.git'" time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2021-05-16T23:02:47+03:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/heads/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/HEAD sha=0000000000000000000000000000000000000000" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/hosted-git-info-2.8.9 sha=8e9a408809550c76b64bed9059fb5a39eef8dff0" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/lodash-4.17.21 sha=5b25f175d41460b6cb6f974d7b45984c67402e98" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=HEAD sha=0000000000000000000000000000000000000000" time="2021-05-16T23:02:47+03:00" level=debug msg="using github ref: refs/heads/master" time="2021-05-16T23:02:47+03:00" level=debug msg="context env => map[ACT:true]" [CI/test] 🚀 Start image=catthehacker/ubuntu:act-latest time="2021-05-16T23:02:47+03:00" level=debug msg="Loading slug from git directory '/Users/corwin/var/tut/github-actions-demo/.git'" time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2021-05-16T23:02:47+03:00" level=debug msg="Loading revision from git directory '/Users/corwin/var/tut/github-actions-demo/.git'" time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2021-05-16T23:02:47+03:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/heads/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/HEAD sha=0000000000000000000000000000000000000000" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/hosted-git-info-2.8.9 sha=8e9a408809550c76b64bed9059fb5a39eef8dff0" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/lodash-4.17.21 sha=5b25f175d41460b6cb6f974d7b45984c67402e98" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=HEAD sha=0000000000000000000000000000000000000000" time="2021-05-16T23:02:47+03:00" level=debug msg="using github ref: refs/heads/master" [CI/test] 🐳 docker pull catthehacker/ubuntu:act-latest time="2021-05-16T23:02:47+03:00" level=debug msg="Image exists? true" [CI/test] Removed container: f02284b4e1a446ce655ba78dfc29d96726d988159ef49482fe116844c63f0482 [CI/test] 🐳 docker volume rm act-CI-test [CI/test] 🐳 docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [CI/test] Created container name=act-CI-test id=beb524b014ec3ca6460345018df8c7fa35d61524b15d5dd4bc1f3e706cdc4c50 from image catthehacker/ubuntu:act-latest (platform: ) [CI/test] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [CI/test] 🐳 docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [CI/test] Starting container: beb524b014ec3ca6460345018df8c7fa35d61524b15d5dd4bc1f3e706cdc4c50 [CI/test] Started container: beb524b014ec3ca6460345018df8c7fa35d61524b15d5dd4bc1f3e706cdc4c50 time="2021-05-16T23:02:47+03:00" level=debug msg="Writing entry to tarball workflow/event.json len:2" time="2021-05-16T23:02:47+03:00" level=debug msg="Writing entry to tarball workflow/envs.txt len:0" time="2021-05-16T23:02:47+03:00" level=debug msg="Writing entry to tarball workflow/paths.txt len:0" [CI/test] Extracting content to '/tmp/' time="2021-05-16T23:02:47+03:00" level=debug msg="Loading slug from git directory '/Users/corwin/var/tut/github-actions-demo/.git'" time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2021-05-16T23:02:47+03:00" level=debug msg="Loading revision from git directory '/Users/corwin/var/tut/github-actions-demo/.git'" time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2021-05-16T23:02:47+03:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/heads/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/HEAD sha=0000000000000000000000000000000000000000" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/hosted-git-info-2.8.9 sha=8e9a408809550c76b64bed9059fb5a39eef8dff0" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/lodash-4.17.21 sha=5b25f175d41460b6cb6f974d7b45984c67402e98" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=HEAD sha=0000000000000000000000000000000000000000" time="2021-05-16T23:02:47+03:00" level=debug msg="using github ref: refs/heads/master" time="2021-05-16T23:02:47+03:00" level=debug msg="Loading slug from git directory '/Users/corwin/var/tut/github-actions-demo/.git'" time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2021-05-16T23:02:47+03:00" level=debug msg="Loading revision from git directory '/Users/corwin/var/tut/github-actions-demo/.git'" time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2021-05-16T23:02:47+03:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/heads/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/HEAD sha=0000000000000000000000000000000000000000" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/hosted-git-info-2.8.9 sha=8e9a408809550c76b64bed9059fb5a39eef8dff0" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/lodash-4.17.21 sha=5b25f175d41460b6cb6f974d7b45984c67402e98" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=HEAD sha=0000000000000000000000000000000000000000" time="2021-05-16T23:02:47+03:00" level=debug msg="using github ref: refs/heads/master" time="2021-05-16T23:02:47+03:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin\" RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" time="2021-05-16T23:02:47+03:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/tmp/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/tmp/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:test GITHUB_PATH:/tmp/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:cplee/github-actions-demo GITHUB_REPOSITORY_OWNER:cplee GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:5c6f585b1f9d8526c8e1672c5f8f00883b895d93 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/Users/corwin/var/tut/github-actions-demo IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" [CI/test] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/tmp/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/tmp/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:test GITHUB_PATH:/tmp/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REPOSITORY:cplee/github-actions-demo GITHUB_REPOSITORY_OWNER:cplee GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:5c6f585b1f9d8526c8e1672c5f8f00883b895d93 GITHUB_TOKEN: GITHUB_WORKFLOW:CI GITHUB_WORKSPACE:/Users/corwin/var/tut/github-actions-demo IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_RELEASE:20.04 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] [CI/test] ⭐ Run actions/checkout@v2 time="2021-05-16T23:02:47+03:00" level=debug msg="Loading slug from git directory '/Users/corwin/var/tut/github-actions-demo/.git'" time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2021-05-16T23:02:47+03:00" level=debug msg="Loading revision from git directory '/Users/corwin/var/tut/github-actions-demo/.git'" time="2021-05-16T23:02:47+03:00" level=debug msg="Found revision: 5c6f585b1f9d8526c8e1672c5f8f00883b895d93\n" time="2021-05-16T23:02:47+03:00" level=debug msg="HEAD points to '5c6f585b1f9d8526c8e1672c5f8f00883b895d93'" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/heads/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/HEAD sha=0000000000000000000000000000000000000000" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/hosted-git-info-2.8.9 sha=8e9a408809550c76b64bed9059fb5a39eef8dff0" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/dependabot/npm_and_yarn/lodash-4.17.21 sha=5b25f175d41460b6cb6f974d7b45984c67402e98" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=refs/remotes/origin/master sha=5c6f585b1f9d8526c8e1672c5f8f00883b895d93" time="2021-05-16T23:02:47+03:00" level=debug msg="Reference: name=HEAD sha=0000000000000000000000000000000000000000" time="2021-05-16T23:02:47+03:00" level=debug msg="using github ref: refs/heads/master" [CI/test] ☁ git clone 'https://github.com/actions/checkout' # ref=v2 [CI/test] cloning https://github.com/actions/checkout to /Users/corwin/.cache/act/actions-checkout@v2 [CI/test] Cloned https://github.com/actions/checkout to /Users/corwin/.cache/act/actions-checkout@v2 [CI/test] Checked out v2 time="2021-05-16T23:02:48+03:00" level=debug msg="Read action &{Checkout Checkout a Git repository at a particular version map[clean:{Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching false true} fetch-depth:{Number of commits to fetch. 0 indicates all history for all branches and tags. false 1} lfs:{Whether to download Git-LFS files false false} path:{Relative path under $GITHUB_WORKSPACE to place the repository false } persist-credentials:{Whether to configure the token or SSH key with the local git config false true} ref:{The branch, tag or SHA to checkout. When checking out the repository that triggered a workflow, this defaults to the reference or SHA for that event. Otherwise, uses the default branch.\n false } repository:{Repository name with owner. For example, actions/checkout false ${{ github.repository }}} ssh-key:{SSH key used to fetch the repository. The SSH key is configured with the local git config, which enables your scripts to run authenticated git commands. The post-job step removes the SSH key.\n\nWe recommend using a service account with the least permissions necessary.\n\n[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)\n false } ssh-known-hosts:{Known hosts in addition to the user and global host key database. The public SSH keys for a host may be obtained using the utility `ssh-keyscan`. For example, `ssh-keyscan github.com`. The public key for github.com is always implicitly added.\n false } ssh-strict:{Whether to perform strict host key checking. When true, adds the options `StrictHostKeyChecking=yes` and `CheckHostIP=no` to the SSH command line. Use the input `ssh-known-hosts` to configure additional hosts.\n false true} submodules:{Whether to checkout submodules: `true` to checkout submodules or `recursive` to recursively checkout submodules.\n\nWhen the `ssh-key` input is not provided, SSH URLs beginning with `git@github.com:` are converted to HTTPS.\n false false} token:{Personal access token (PAT) used to fetch the repository. The PAT is configured with the local git config, which enables your scripts to run authenticated git commands. The post-job step removes the PAT.\n\nWe recommend using a service account with the least permissions necessary. Also when generating a new PAT, select the least scopes necessary.\n\n[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)\n false ${{ github.token }}}] map[] {node12 map[] dist/index.js [] [] []} { }} from '/Users/corwin/.cache/act/actions-checkout@v2/action.yml'" time="2021-05-16T23:02:48+03:00" level=debug msg="About to run action &{Checkout Checkout a Git repository at a particular version map[clean:{Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching false true} fetch-depth:{Number of commits to fetch. 0 indicates all history for all branches and tags. false 1} lfs:{Whether to download Git-LFS files false false} path:{Relative path under $GITHUB_WORKSPACE to place the repository false } persist-credentials:{Whether to configure the token or SSH key with the local git config false true} ref:{The branch, tag or SHA to checkout. When checking out the repository that triggered a workflow, this defaults to the reference or SHA for that event. Otherwise, uses the default branch.\n false } repository:{Repository name with owner. For example, actions/checkout false ${{ github.repository }}} ssh-key:{SSH key used to fetch the repository. The SSH key is configured with the local git config, which enables your scripts to run authenticated git commands. The post-job step removes the SSH key.\n\nWe recommend using a service account with the least permissions necessary.\n\n[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)\n false } ssh-known-hosts:{Known hosts in addition to the user and global host key database. The public SSH keys for a host may be obtained using the utility `ssh-keyscan`. For example, `ssh-keyscan github.com`. The public key for github.com is always implicitly added.\n false } ssh-strict:{Whether to perform strict host key checking. When true, adds the options `StrictHostKeyChecking=yes` and `CheckHostIP=no` to the SSH command line. Use the input `ssh-known-hosts` to configure additional hosts.\n false true} submodules:{Whether to checkout submodules: `true` to checkout submodules or `recursive` to recursively checkout submodules.\n\nWhen the `ssh-key` input is not provided, SSH URLs beginning with `git@github.com:` are converted to HTTPS.\n false false} token:{Personal access token (PAT) used to fetch the repository. The PAT is configured with the local git config, which enables your scripts to run authenticated git commands. The post-job step removes the PAT.\n\nWe recommend using a service account with the least permissions necessary. Also when generating a new PAT, select the least scopes necessary.\n\n[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)\n false ${{ github.token }}}] map[] {node12 map[] dist/index.js [] [] []} { }}" time="2021-05-16T23:02:48+03:00" level=debug msg="Evaluating 'github['token']' instead of 'github.token'" time="2021-05-16T23:02:48+03:00" level=debug msg="Evaluating 'github['repository']' instead of 'github.repository'" time="2021-05-16T23:02:48+03:00" level=debug msg="type=3 actionDir=/Users/corwin/.cache/act/actions-checkout@v2 actionPath= Workdir=/Users/corwin/var/tut/github-actions-demo ActionCacheDir=/Users/corwin/.cache/act actionName=actions-checkout@v2 containerActionDir=/Users/corwin/var/tut/github-actions-demo/_actions/actions-checkout@v2" time="2021-05-16T23:02:48+03:00" level=debug msg="Removing /Users/corwin/.cache/act/actions-checkout@v2/.gitignore before docker cp" [CI/test] 🐳 docker cp src=/Users/corwin/.cache/act/actions-checkout@v2/ dst=/Users/corwin/var/tut/github-actions-demo/_actions/actions-checkout@v2/ [CI/test] Exec command '[mkdir -p /Users/corwin/var/tut/github-actions-demo/_actions/actions-checkout@v2/]' time="2021-05-16T23:02:48+03:00" level=debug msg="Writing tarball /var/folders/8d/07cvxrb923vcchrx0xyn16p80000gn/T/act208417053 from /Users/corwin/.cache/act/actions-checkout@v2/" time="2021-05-16T23:02:48+03:00" level=debug msg="Stripping prefix:/Users/corwin/.cache/act/actions-checkout@v2/ src:/Users/corwin/.cache/act/actions-checkout@v2/" [CI/test] Extracting content from '/var/folders/8d/07cvxrb923vcchrx0xyn16p80000gn/T/act208417053' to '/Users/corwin/var/tut/github-actions-demo/_actions/actions-checkout@v2/' time="2021-05-16T23:02:48+03:00" level=debug msg="executing remote job container: [node /Users/corwin/var/tut/github-actions-demo/_actions/actions-checkout@v2/dist/index.js]" [CI/test] Exec command '[node /Users/corwin/var/tut/github-actions-demo/_actions/actions-checkout@v2/dist/index.js]' [CI/test] ❓ ::save-state name=isPost,::true [CI/test] 💬 ::debug::GITHUB_WORKSPACE = '/Users/corwin/var/tut/github-actions-demo' [CI/test] 💬 ::debug::qualified repository = 'cplee/github-actions-demo' [CI/test] 💬 ::debug::ref = 'refs/heads/master' [CI/test] 💬 ::debug::commit = '5c6f585b1f9d8526c8e1672c5f8f00883b895d93' [CI/test] 💬 ::debug::clean = true [CI/test] 💬 ::debug::fetch depth = 1 [CI/test] 💬 ::debug::lfs = false [CI/test] 💬 ::debug::submodules = false [CI/test] 💬 ::debug::recursive submodules = false [CI/test] ❗ ::error::Input required and not supplied: token [CI/test] ❌ Failure - actions/checkout@v2 time="2021-05-16T23:02:48+03:00" level=debug msg="exit with `FAILURE`: 1" time="2021-05-16T23:02:48+03:00" level=debug msg="exit with `FAILURE`: 1" time="2021-05-16T23:02:48+03:00" level=debug msg="exit with `FAILURE`: 1" time="2021-05-16T23:02:48+03:00" level=debug msg="exit with `FAILURE`: 1" Error: exit with `FAILURE`: 1 ``` </details>
kerem 2026-03-01 21:43:23 +03:00
  • closed this issue
  • added the
    kind/bug
    label
Author
Owner

@catthehacker commented on GitHub (May 17, 2021):

Fixed in #680

<!-- gh-comment-id:841901485 --> @catthehacker commented on GitHub (May 17, 2021): Fixed in #680
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#436
No description provided.