Skip to content
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

The checkout action fails when using ref #2666

Open
stsdc opened this issue Feb 13, 2025 · 0 comments
Open

The checkout action fails when using ref #2666

stsdc opened this issue Feb 13, 2025 · 0 comments
Labels
kind/bug Something isn't working

Comments

@stsdc
Copy link

stsdc commented Feb 13, 2025

Bug report info

act version:            0.2.74
GOOS:                   linux
GOARCH:                 amd64
NumCPU:                 8
Docker host:            DOCKER_HOST environment variable is not set
Sockets found:
        /var/run/docker.sock
Config files:           
        /home/stsdc/.actrc:
                -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest
                -P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04
                -P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:act-18.04
Build info:
        Go version:            go1.23.5
        Module path:           github.com/nektos/act
        Main version:          (devel)
        Main path:             github.com/nektos/act
        Main checksum:         
        Build settings:
                -buildmode:           exe
                -compiler:            gc
                -ldflags:             -s -w -X main.version=0.2.74 -X main.commit=3f741df6bcf35bafe16247e6dcb3072c5a481977 -X main.date=2025-02-10T06:52:17Z -X main.builtBy=goreleaser
                CGO_ENABLED:          0
                GOARCH:               amd64
                GOOS:                 linux
                GOAMD64:              v1
                vcs:                  git
                vcs.revision:         3f741df6bcf35bafe16247e6dcb3072c5a481977
                vcs.time:             2025-02-10T04:34:35Z
                vcs.modified:         false
Docker Engine:
        Engine version:        27.5.0
        Engine runtime:        runc
        Cgroup version:        2
        Cgroup driver:         systemd
        Storage driver:        overlay2
        Registry URI:          https://index.docker.io/v1/
        OS:                    elementary OS 7.1 Horus
        OS type:               linux
        OS version:            7.1
        OS arch:               x86_64
        OS kernel:             6.8.0-51-generic
        OS CPU:                8
        OS memory:             15906 MB
        Security options:
                name=apparmor
                name=seccomp,profile=builtin
                name=cgroupns

Command used with act

act

Describe issue

Somehow, if a specific branch is provided for the checkout action, the run fails with

[noble.yml/build] ⭐ Run Main Checkout the import-list
[noble.yml/build]   🐳  docker cp src=/home/stsdc/.cache/act/actions-checkout@v4/ dst=/var/run/act/actions/actions-checkout@v4/
[noble.yml/build]   🐳  docker exec cmd=[node /var/run/act/actions/actions-checkout@v4/dist/index.js] user= workdir=
[noble.yml/build] OCI runtime exec failed: exec failed: unable to start container process: exec: "node": executable file not found in $PATH: unknown
[noble.yml/build]   ❌  Failure - Main Checkout the import-list

It works normally if ref is not used.

Link to GitHub repository

No response

Workflow content

on:
  schedule:
    # * is a special character in YAML so you have to quote this string
    - cron:  '0 0 * * *'

jobs:
  build:
    runs-on: ubuntu-latest

    container:
      image: ghcr.io/elementary/docker:stable

    steps:
    - name: Checkout the import-list
      uses: actions/checkout@v4
      with:
        fetch-depth: 1
        ref: import-list-noble

Relevant log output

DEBU[0000] Handling container host and socket           
DEBU[0000] Defaulting container socket to DOCKER_HOST   
INFO[0000] Using docker host 'unix:///var/run/docker.sock', and daemon socket 'unix:///var/run/docker.sock' 
DEBU[0000] Loading environment from /home/stsdc/projects/elementary/os-patches/.env 
DEBU[0000] Loading action inputs from                   
DEBU[0000] Loading secrets from                         
DEBU[0000] Conditional GET for notices etag=e4633e5b-a012-49aa-bf5d-c8cf8dc79654 
DEBU[0000] Loading vars from /home/stsdc/projects/elementary/os-patches/.vars 
DEBU[0000] Evaluated matrix inclusions: map[]           
DEBU[0000] Loading workflow '/home/stsdc/projects/elementary/os-patches/.github/workflows/noble.yml' 
DEBU[0000] Reading workflow '/home/stsdc/projects/elementary/os-patches/.github/workflows/noble.yml' 
DEBU[0000] Preparing plan with all jobs                 
DEBU[0000] Using the only detected workflow event: schedule 
DEBU[0000] Planning jobs for event: schedule            
DEBU[0000] gc: 2025-02-13 17:24:15.445290541 +0100 CET m=+0.013921436  module=artifactcache
DEBU[0000] Plan Stages: [0xc0000e4d38]                  
DEBU[0000] Stages Runs: [build]                         
DEBU[0000] Job.Name: build                              
DEBU[0000] Job.RawNeeds: {0 0    <nil> []    0 0}       
DEBU[0000] Job.RawRunsOn: {8 0 !!str ubuntu-latest  <nil> []    8 14} 
DEBU[0000] Job.Env: {0 0    <nil> []    0 0}            
DEBU[0000] Job.If: {0 0  success()  <nil> []    0 0}    
DEBU[0000] Job.Steps: Checkout the import-list          
DEBU[0000] Job.TimeoutMinutes:                          
DEBU[0000] Job.Services: map[]                          
DEBU[0000] Job.Strategy: <nil>                          
DEBU[0000] Job.RawContainer: {4 0 !!map   <nil> [0xc0003af720 0xc0003af7c0]    11 7} 
DEBU[0000] Job.Defaults.Run.Shell:                      
DEBU[0000] Job.Defaults.Run.WorkingDirectory:           
DEBU[0000] Job.Outputs: map[]                           
DEBU[0000] Job.Uses:                                    
DEBU[0000] Job.With: map[]                              
DEBU[0000] Job.Result:                                  
DEBU[0000] Empty Strategy, matrixes=[map[]]             
DEBU[0000] Job Matrices: [map[]]                        
DEBU[0000] Runner Matrices: map[]                       
DEBU[0000] Final matrix after applying user inclusions '[map[]]' 
DEBU[0000] Loading revision from git directory          
DEBU[0000] Found revision: 2fb187a217af5e6c37b00feba965858e70102175 
DEBU[0000] HEAD points to '2fb187a217af5e6c37b00feba965858e70102175' 
DEBU[0000] using github ref: refs/heads/master          
DEBU[0000] Found revision: 2fb187a217af5e6c37b00feba965858e70102175 
DEBU[0000] Detected CPUs: 8                             
[noble.yml/build] [DEBUG] evaluating expression 'success()'
[noble.yml/build] [DEBUG] expression 'success()' evaluated to 'true'
[noble.yml/build] ⭐ Run Set up job
[noble.yml/build] 🚀  Start image=ghcr.io/elementary/docker:stable
DEBU[0000] Parallel tasks (0) below minimum, setting to 1 
[noble.yml/build]   🐳  docker pull image=ghcr.io/elementary/docker:stable platform= username= forcePull=true
[noble.yml/build] [DEBUG]   🐳  docker pull ghcr.io/elementary/docker:stable
[noble.yml/build] [DEBUG] pulling image 'ghcr.io/elementary/docker:stable' ()
DEBU[0000] Saving notices etag=e4633e5b-a012-49aa-bf5d-c8cf8dc79654 
DEBU[0000] No new notices                               
[noble.yml/build] [DEBUG] Pulling from elementary/docker :: stable
[noble.yml/build] [DEBUG] Digest: sha256:c5f168b65530e0b03a011d7c31abe3aa591e11cec5db8d9fb8ada4828231ae0c :: 
[noble.yml/build] [DEBUG] Status: Image is up to date for ghcr.io/elementary/docker:stable :: 
[noble.yml/build] [DEBUG] Removed container: 81d07dfaf7953b4e57b43e42bd4e1c6b0657d4c34a3ccd6ecaade143b300dbc8
[noble.yml/build] [DEBUG]   🐳  docker volume rm act-noble-yml-build-21c34fcdfbb22ebc8a9f9d74f6d9512aba66b95f4e01afccf73df8f8a707917f
[noble.yml/build] [DEBUG]   🐳  docker volume rm act-noble-yml-build-21c34fcdfbb22ebc8a9f9d74f6d9512aba66b95f4e01afccf73df8f8a707917f-env
DEBU[0001] Parallel tasks (0) below minimum, setting to 1 
[noble.yml/build]   🐳  docker create image=ghcr.io/elementary/docker:stable platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[noble.yml/build] [DEBUG] Common container.Config ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:true OpenStdin:false StdinOnce:false Env:[RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck:<nil> ArgsEscaped:false Image:ghcr.io/elementary/docker:stable Volumes:map[] WorkingDir:/home/stsdc/projects/elementary/os-patches Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]}
[noble.yml/build] [DEBUG] Common container.HostConfig ==> &{Binds:[/var/run/docker.sock:/var/run/docker.sock] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:host PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] ConsoleSize:[0 0] Annotations:map[] CapAdd:[] CapDrop:[] CgroupnsMode: DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:0 Sysctls:map[] Runtime: Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DeviceRequests:[] KernelMemory:0 KernelMemoryTCP:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:<nil> Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[{Type:volume Source:act-toolcache Target:/opt/hostedtoolcache ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-noble-yml-build-21c34fcdfbb22ebc8a9f9d74f6d9512aba66b95f4e01afccf73df8f8a707917f-env Target:/var/run/act ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-noble-yml-build-21c34fcdfbb22ebc8a9f9d74f6d9512aba66b95f4e01afccf73df8f8a707917f Target:/home/stsdc/projects/elementary/os-patches ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>}] MaskedPaths:[] ReadonlyPaths:[] Init:<nil>}
[noble.yml/build] [DEBUG] input.NetworkAliases ==> [build]
[noble.yml/build] [DEBUG] Created container name=act-noble-yml-build-21c34fcdfbb22ebc8a9f9d74f6d9512aba66b95f4e01afccf73df8f8a707917f id=31f495467154e596ba06fb6271f282becfac9f9e34c691818f245e1537e12bb9 from image ghcr.io/elementary/docker:stable (platform: )
[noble.yml/build] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8]
[noble.yml/build]   🐳  docker run image=ghcr.io/elementary/docker:stable platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[noble.yml/build] [DEBUG] Starting container: 31f495467154e596ba06fb6271f282becfac9f9e34c691818f245e1537e12bb9
[noble.yml/build] [DEBUG] Started container: 31f495467154e596ba06fb6271f282becfac9f9e34c691818f245e1537e12bb9
[noble.yml/build] [DEBUG] Writing entry to tarball workflow/event.json len:2
[noble.yml/build] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[noble.yml/build] [DEBUG] Extracting content to '/var/run/act/'
DEBU[0001] Parallel tasks (0) below minimum, setting to 1 
[noble.yml/build]   🐳  docker exec cmd=[node --no-warnings -e console.log(process.execPath)] user= workdir=
[noble.yml/build] [DEBUG] Exec command '[node --no-warnings -e console.log(process.execPath)]'
[noble.yml/build] [DEBUG] Working directory '/home/stsdc/projects/elementary/os-patches'
[noble.yml/build]   ✅  Success - Set up job
[noble.yml/build] [DEBUG] Loading revision from git directory
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] HEAD points to '2fb187a217af5e6c37b00feba965858e70102175'
[noble.yml/build] [DEBUG] using github ref: refs/heads/master
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] Loading revision from git directory
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] HEAD points to '2fb187a217af5e6c37b00feba965858e70102175'
[noble.yml/build] [DEBUG] using github ref: refs/heads/master
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build]   ☁  git clone 'https://github.com/actions/checkout' # ref=v4
[noble.yml/build] [DEBUG]   cloning https://github.com/actions/checkout to /home/stsdc/.cache/act/actions-checkout@v4
[noble.yml/build] [DEBUG] Unable to pull refs/heads/v4: worktree contains unstaged changes
[noble.yml/build] [DEBUG] Cloned https://github.com/actions/checkout to /home/stsdc/.cache/act/actions-checkout@v4
[noble.yml/build] [DEBUG] Checked out v4
[noble.yml/build] [DEBUG] 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} fetch-tags:{Whether to fetch tags, even if fetch-depth > 0. false false} filter:{Partially clone against a given filter. Overrides sparse-checkout if set.
 false } github-server-url:{The base URL for the GitHub instance that you are trying to clone from, will use environment defaults to fetch from the same instance that the workflow is running from unless specified. Example URLs are https://github.com or https://my-ghes-server.example.com false } 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.
 false } repository:{Repository name with owner. For example, actions/checkout false ${{ github.repository }}} set-safe-directory:{Add repository path as safe.directory for Git global config by running `git config --global --add safe.directory <path>` false true} show-progress:{Whether to show progress status output when fetching. false true} sparse-checkout:{Do a sparse checkout on given patterns. Each pattern should be separated with new lines.
 false } sparse-checkout-cone-mode:{Specifies whether to use cone-mode when doing a sparse checkout.
 false true} 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.

We recommend using a service account with the least permissions necessary.

[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)
 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.
 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.
 false true} ssh-user:{The user to use when connecting to the remote SSH host. By default 'git' is used.
 false git} submodules:{Whether to checkout submodules: `true` to checkout submodules or `recursive` to recursively checkout submodules.

When the `ssh-key` input is not provided, SSH URLs beginning with `git@github.com:` are converted to HTTPS.
 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.

We recommend using a service account with the least permissions necessary. Also when generating a new PAT, select the least scopes necessary.

[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)
 false ${{ github.token }}}] map[commit:{The commit SHA that was checked out } ref:{The branch, tag or SHA that was checked out }] {node20 map[] dist/index.js  always() dist/index.js always()     [] []} { }} from 'Unknown'
[noble.yml/build] [DEBUG] Loading revision from git directory
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] HEAD points to '2fb187a217af5e6c37b00feba965858e70102175'
[noble.yml/build] [DEBUG] using github ref: refs/heads/master
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] Loading revision from git directory
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] HEAD points to '2fb187a217af5e6c37b00feba965858e70102175'
[noble.yml/build] [DEBUG] using github ref: refs/heads/master
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] Loading revision from git directory
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] HEAD points to '2fb187a217af5e6c37b00feba965858e70102175'
[noble.yml/build] [DEBUG] using github ref: refs/heads/master
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://172.21.73.26:41711/ CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v4 GITHUB_ACTION_REPOSITORY:actions/checkout GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:schedule GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:elementary/os-patches GITHUB_REPOSITORY_OWNER:elementary GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ATTEMPT:1 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:2fb187a217af5e6c37b00feba965858e70102175 GITHUB_WORKFLOW:noble.yml GITHUB_WORKSPACE:/home/stsdc/projects/elementary/os-patches INPUT_FETCH-DEPTH:1 INPUT_REF:import-list-noble ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[noble.yml/build] [DEBUG] Loading revision from git directory
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] HEAD points to '2fb187a217af5e6c37b00feba965858e70102175'
[noble.yml/build] [DEBUG] using github ref: refs/heads/master
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] Loading revision from git directory
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] HEAD points to '2fb187a217af5e6c37b00feba965858e70102175'
[noble.yml/build] [DEBUG] using github ref: refs/heads/master
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] evaluating expression ''
[noble.yml/build] [DEBUG] expression '' evaluated to 'true'
[noble.yml/build] ⭐ Run Main Checkout the import-list
[noble.yml/build] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[noble.yml/build] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[noble.yml/build] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[noble.yml/build] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[noble.yml/build] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[noble.yml/build] [DEBUG] Extracting content to '/var/run/act'
[noble.yml/build] [DEBUG] Loading revision from git directory
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] HEAD points to '2fb187a217af5e6c37b00feba965858e70102175'
[noble.yml/build] [DEBUG] using github ref: refs/heads/master
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] 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} fetch-tags:{Whether to fetch tags, even if fetch-depth > 0. false false} filter:{Partially clone against a given filter. Overrides sparse-checkout if set.
 false } github-server-url:{The base URL for the GitHub instance that you are trying to clone from, will use environment defaults to fetch from the same instance that the workflow is running from unless specified. Example URLs are https://github.com or https://my-ghes-server.example.com false } 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.
 false } repository:{Repository name with owner. For example, actions/checkout false ${{ github.repository }}} set-safe-directory:{Add repository path as safe.directory for Git global config by running `git config --global --add safe.directory <path>` false true} show-progress:{Whether to show progress status output when fetching. false true} sparse-checkout:{Do a sparse checkout on given patterns. Each pattern should be separated with new lines.
 false } sparse-checkout-cone-mode:{Specifies whether to use cone-mode when doing a sparse checkout.
 false true} 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.

We recommend using a service account with the least permissions necessary.

[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)
 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.
 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.
 false true} ssh-user:{The user to use when connecting to the remote SSH host. By default 'git' is used.
 false git} submodules:{Whether to checkout submodules: `true` to checkout submodules or `recursive` to recursively checkout submodules.

When the `ssh-key` input is not provided, SSH URLs beginning with `git@github.com:` are converted to HTTPS.
 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.

We recommend using a service account with the least permissions necessary. Also when generating a new PAT, select the least scopes necessary.

[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)
 false ${{ github.token }}}] map[commit:{The commit SHA that was checked out } ref:{The branch, tag or SHA that was checked out }] {node20 map[] dist/index.js  always() dist/index.js always()     [] []} { }}
[noble.yml/build] [DEBUG] Loading revision from git directory
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] HEAD points to '2fb187a217af5e6c37b00feba965858e70102175'
[noble.yml/build] [DEBUG] using github ref: refs/heads/master
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] Loading revision from git directory
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] HEAD points to '2fb187a217af5e6c37b00feba965858e70102175'
[noble.yml/build] [DEBUG] using github ref: refs/heads/master
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] expression '${{ github.token }}' rewritten to 'format('{0}', github.token)'
[noble.yml/build] [DEBUG] evaluating expression 'format('{0}', github.token)'
[noble.yml/build] [DEBUG] expression 'format('{0}', github.token)' evaluated to '%!t(string=)'
[noble.yml/build] [DEBUG] expression '${{ github.repository }}' rewritten to 'format('{0}', github.repository)'
[noble.yml/build] [DEBUG] evaluating expression 'format('{0}', github.repository)'
[noble.yml/build] [DEBUG] expression 'format('{0}', github.repository)' evaluated to '%!t(string=elementary/os-patches)'
[noble.yml/build] [DEBUG] type=remote-action actionDir=/home/stsdc/.cache/act/actions-checkout@v4 actionPath= workdir=/home/stsdc/projects/elementary/os-patches actionCacheDir=/home/stsdc/.cache/act actionName=actions-checkout@v4 containerActionDir=/var/run/act/actions/actions-checkout@v4
[noble.yml/build] [DEBUG] /var/run/act/actions/actions-checkout@v4
[noble.yml/build] [DEBUG] Removing /home/stsdc/.cache/act/actions-checkout@v4/.gitignore before docker cp
[noble.yml/build]   🐳  docker cp src=/home/stsdc/.cache/act/actions-checkout@v4/ dst=/var/run/act/actions/actions-checkout@v4/
[noble.yml/build] [DEBUG] Writing tarball /tmp/act1510469179 from /home/stsdc/.cache/act/actions-checkout@v4/
[noble.yml/build] [DEBUG] Stripping prefix:/home/stsdc/.cache/act/actions-checkout@v4/ src:/home/stsdc/.cache/act/actions-checkout@v4/
[noble.yml/build] [DEBUG] Extracting content from '/tmp/act1510469179' to '/var/run/act/actions/actions-checkout@v4/'
[noble.yml/build] [DEBUG] executing remote job container: [node /var/run/act/actions/actions-checkout@v4/dist/index.js]
[noble.yml/build]   🐳  docker exec cmd=[node /var/run/act/actions/actions-checkout@v4/dist/index.js] user= workdir=
[noble.yml/build] [DEBUG] Exec command '[node /var/run/act/actions/actions-checkout@v4/dist/index.js]'
[noble.yml/build] [DEBUG] Working directory '/home/stsdc/projects/elementary/os-patches'
| OCI runtime exec failed: exec failed: unable to start container process: exec: "node": executable file not found in $PATH: unknown
[noble.yml/build]   ❌  Failure - Main Checkout the import-list
[noble.yml/build] exitcode '126': failure
[noble.yml/build] [DEBUG] Loading revision from git directory
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] HEAD points to '2fb187a217af5e6c37b00feba965858e70102175'
[noble.yml/build] [DEBUG] using github ref: refs/heads/master
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] Loading revision from git directory
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] HEAD points to '2fb187a217af5e6c37b00feba965858e70102175'
[noble.yml/build] [DEBUG] using github ref: refs/heads/master
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] Loading revision from git directory
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] HEAD points to '2fb187a217af5e6c37b00feba965858e70102175'
[noble.yml/build] [DEBUG] using github ref: refs/heads/master
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://172.21.73.26:41711/ CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v4 GITHUB_ACTION_REPOSITORY:actions/checkout GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:schedule GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_OUTPUT:/var/run/act/workflow/outputcmd.txt GITHUB_PATH:/var/run/act/workflow/pathcmd.txt GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:elementary/os-patches GITHUB_REPOSITORY_OWNER:elementary GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ATTEMPT:1 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:2fb187a217af5e6c37b00feba965858e70102175 GITHUB_STATE:/var/run/act/workflow/statecmd.txt GITHUB_STEP_SUMMARY:/var/run/act/workflow/SUMMARY.md GITHUB_WORKFLOW:noble.yml GITHUB_WORKSPACE:/home/stsdc/projects/elementary/os-patches INPUT_FETCH-DEPTH:1 INPUT_REF:import-list-noble ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[noble.yml/build] [DEBUG] Loading revision from git directory
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] HEAD points to '2fb187a217af5e6c37b00feba965858e70102175'
[noble.yml/build] [DEBUG] using github ref: refs/heads/master
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] Loading revision from git directory
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] HEAD points to '2fb187a217af5e6c37b00feba965858e70102175'
[noble.yml/build] [DEBUG] using github ref: refs/heads/master
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] evaluating expression 'always()'
[noble.yml/build] [DEBUG] expression 'always()' evaluated to 'true'
[noble.yml/build] ⭐ Run Post Checkout the import-list
[noble.yml/build] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[noble.yml/build] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[noble.yml/build] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[noble.yml/build] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[noble.yml/build] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[noble.yml/build] [DEBUG] Extracting content to '/var/run/act'
[noble.yml/build] [DEBUG] run post step for 'Checkout the import-list'
[noble.yml/build] [DEBUG] Loading revision from git directory
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] HEAD points to '2fb187a217af5e6c37b00feba965858e70102175'
[noble.yml/build] [DEBUG] using github ref: refs/heads/master
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] expression '${{ github.token }}' rewritten to 'format('{0}', github.token)'
[noble.yml/build] [DEBUG] evaluating expression 'format('{0}', github.token)'
[noble.yml/build] [DEBUG] expression 'format('{0}', github.token)' evaluated to '%!t(string=)'
[noble.yml/build] [DEBUG] expression '${{ github.repository }}' rewritten to 'format('{0}', github.repository)'
[noble.yml/build] [DEBUG] evaluating expression 'format('{0}', github.repository)'
[noble.yml/build] [DEBUG] expression 'format('{0}', github.repository)' evaluated to '%!t(string=elementary/os-patches)'
[noble.yml/build] [DEBUG] executing remote job container: [node /var/run/act/actions/actions-checkout@v4/dist/index.js]
[noble.yml/build]   🐳  docker exec cmd=[node /var/run/act/actions/actions-checkout@v4/dist/index.js] user= workdir=
[noble.yml/build] [DEBUG] Exec command '[node /var/run/act/actions/actions-checkout@v4/dist/index.js]'
[noble.yml/build] [DEBUG] Working directory '/home/stsdc/projects/elementary/os-patches'
| OCI runtime exec failed: exec failed: unable to start container process: exec: "node": executable file not found in $PATH: unknown
[noble.yml/build]   ❌  Failure - Post Checkout the import-list
[noble.yml/build] ⭐ Run Complete job
[noble.yml/build] [DEBUG] Loading revision from git directory
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build] [DEBUG] HEAD points to '2fb187a217af5e6c37b00feba965858e70102175'
[noble.yml/build] [DEBUG] using github ref: refs/heads/master
[noble.yml/build] [DEBUG] Found revision: 2fb187a217af5e6c37b00feba965858e70102175
[noble.yml/build]   ✅  Success - Complete job
[noble.yml/build] 🏁  Job failed
Error: Error occurred running finally: exitcode '126': failure (original error: <nil>)

Additional information

No response

@stsdc stsdc added the kind/bug Something isn't working label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant