[GH-ISSUE #2463] Error: failed to fetch "https://github.com/actions/checkout" version "v4": authentication required #1137

Closed
opened 2026-03-01 21:49:11 +03:00 by kerem · 2 comments
Owner

Originally created by @mcascone on GitHub (Sep 17, 2024).
Original GitHub issue: https://github.com/nektos/act/issues/2463

Bug report info

act version:            0.2.67
GOOS:                   darwin
GOARCH:                 arm64
NumCPU:                 12
Docker host:            DOCKER_HOST environment variable is not set
Sockets found:
	/var/run/docker.sock
	$HOME/.docker/run/docker.sock
Config files:           
	/Users/casconem/Library/Application Support/act/actrc:
		-P ubuntu-latest=node:16-buster-slim
		-P ubuntu-22.04=node:16-bullseye-slim
		-P ubuntu-20.04=node:16-buster-slim
		-P ubuntu-18.04=node:16-buster-slim
	/Users/casconem/.actrc:
		--log-prefix-job-id
		--workflows ./.github/workflows/autobuild.yml
		--container-architecture=linux/amd64
		-s GITHUB_TOKEN="$(gh auth token)"
		; -s TOKEN_GIT="$(gh auth token)"
		--artifact-server-path=/Users/casconem/.act
		; --pull=false
		--local-repository https://github.com/my-org/org-actions=/Users/casconem/github/org-actions
		--local-repository https://github.com/my-org/cloud-devops=/Users/casconem/github/cloud-devops
		; --local-repository https://github.com/my-org/org-actions-git-auto-commit=/Users/casconem/github/org-actions-git-auto-commit
		--platform linux=node:20.12
		; --platform ubuntu-latest=mcascone/act-custom-image:node-16-buster-slim
Build info:
	Go version:            go1.23.1
	Module path:           command-line-arguments
	Main version:          
	Main path:             
	Main checksum:         
	Build settings:
		-buildmode:           exe
		-compiler:            gc
		-ldflags:             -X main.version=0.2.67
		DefaultGODEBUG:       asynctimerchan=1,gotypesalias=0,httplaxcontentlength=1,httpmuxgo121=1,httpservecontentkeepheaders=1,tls10server=1,tls3des=1,tlskyber=0,tlsrsakex=1,tlsunsafeekm=1,winreadlinkvolume=0,winsymlink=0,x509keypairleaf=0,x509negativeserial=1
		CGO_ENABLED:          1
		CGO_CFLAGS:           
		CGO_CPPFLAGS:         
		CGO_CXXFLAGS:         
		CGO_LDFLAGS:          
		GOARCH:               arm64
		GOOS:                 darwin
		GOARM64:              v8.0
Docker Engine:
	Engine version:        27.2.0
	Engine runtime:        runc
	Cgroup version:        2
	Cgroup driver:         cgroupfs
	Storage driver:        overlay2
	Registry URI:          https://index.docker.io/v1/
	OS:                    Docker Desktop
	OS type:               linux
	OS version:            
	OS arch:               aarch64
	OS kernel:             6.10.4-linuxkit
	OS CPU:                12
	OS memory:             7838 MB
	Security options:
		name=seccomp,profile=unconfined
		name=cgroupns

Command used with act

act

# note i have a pretty big .actrc, see bug report output above

Describe issue

when running act, I get this error:

❯ act
INFO[0000] Using docker host 'unix:///var/run/docker.sock', and daemon socket 'unix:///var/run/docker.sock' 
INFO[0000] Start server on http://10.27.147.234:34567   
[autobuild] 🚀  Start image=node:20.12
[autobuild]   🐳  docker pull image=node:20.12 platform=linux/amd64 username= forcePull=true
[autobuild] using DockerAuthConfig authentication for docker pull
[autobuild]   🐳  docker create image=node:20.12 platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[autobuild]   🐳  docker run image=node:20.12 platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[autobuild]   🐳  docker exec cmd=[node --no-warnings -e console.log(process.execPath)] user= workdir=
[autobuild] Cleaning up container for job autobuild
[autobuild] 🏁  Job succeeded
Error: failed to fetch "https://github.com/actions/checkout" version "v4": authentication required

I would expect that actions/checkout would be one of the most widely supported actions without any auth.

No response

Workflow content

name: Actions Auto Build

on:
  push:
  pull_request:
  workflow_dispatch:

jobs:
  autobuild:
    runs-on: linux
    # runs-on: ubuntu-latest
    timeout-minutes: 5

    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          ref: ${{ github.head_ref }}

      - name: set up node
        uses: actions/setup-node@v4
        with:
          node-version: 20
          cache: npm

      - name: install dependencies
        run: npm ci
      
      - name: build
        run: npm run build

      - name: test
        run: npm run test

      - name: autocommit
        uses: ./actions/utility/autocommit
        with:
          file_pattern: 'dist/**'
          commit_message: 'dist folder autocommit'

Relevant log output

❯ act -v
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 /Users/casconem/github/emtn-actions/.env 
DEBU[0000] Loading action inputs from /Users/casconem/github/emtn-actions/.input 
DEBU[0000] Loading secrets from /Users/casconem/github/emtn-actions/.secrets 
DEBU[0000] Loading vars from /Users/casconem/github/emtn-actions/.vars 
DEBU[0000] Evaluated matrix inclusions: map[]           
DEBU[0000] Loading workflow '/Users/casconem/github/emtn-actions/.github/workflows/autobuild.yml' 
DEBU[0000] Reading workflow '/Users/casconem/github/emtn-actions/.github/workflows/autobuild.yml' 
DEBU[0000] Conditional GET for notices etag=0a02121a-0b0d-464c-b9aa-f22faa5046b2 
DEBU[0000] Preparing plan with all jobs                 
DEBU[0000] Using default workflow event: push           
DEBU[0000] Planning jobs for event: push                
DEBU[0000] Artifacts base path '/Users/casconem/.act'   
DEBU[0000] gc: 2024-09-17 15:01:32.617898 -0500 CDT m=+0.023131959  module=artifactcache
INFO[0000] Start server on http://10.27.147.234:34567   
DEBU[0000] Plan Stages: [0x140003c8378]                 
DEBU[0000] Stages Runs: [autobuild]                     
DEBU[0000] Job.Name: autobuild                          
DEBU[0000] Job.RawNeeds: {0 0    <nil> []    0 0}       
DEBU[0000] Job.RawRunsOn: {8 0 !!str linux  <nil> []    10 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                          
DEBU[0000] Job.Steps: set up node                       
DEBU[0000] Job.Steps: install dependencies              
DEBU[0000] Job.Steps: build                             
DEBU[0000] Job.Steps: test                              
DEBU[0000] Job.Steps: autocommit                        
DEBU[0000] Job.TimeoutMinutes: 5                        
DEBU[0000] Job.Services: map[]                          
DEBU[0000] Job.Strategy: <nil>                          
DEBU[0000] Job.RawContainer: {0 0    <nil> []    0 0}   
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: b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964 
DEBU[0000] HEAD points to 'b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964' 
DEBU[0000] using github ref: refs/heads/EMTN-28911-autobuild 
DEBU[0000] Found revision: b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964 
DEBU[0000] Detected CPUs: 12                            
[autobuild] [DEBUG] evaluating expression 'success()'
[autobuild] [DEBUG] expression 'success()' evaluated to 'true'
[autobuild] 🚀  Start image=node:20.12
DEBU[0000] Parallel tasks (0) below minimum, setting to 1 
[autobuild]   🐳  docker pull image=node:20.12 platform=linux/amd64 username= forcePull=true
[autobuild] [DEBUG]   🐳  docker pull node:20.12
[autobuild] [DEBUG] pulling image 'docker.io/library/node:20.12' (linux/amd64)
[autobuild] using DockerAuthConfig authentication for docker pull
DEBU[0000] Saving notices etag=0a02121a-0b0d-464c-b9aa-f22faa5046b2 
DEBU[0000] No new notices                               
[autobuild] [DEBUG] Pulling from library/node :: 20.12
[autobuild] [DEBUG] Digest: sha256:3864be2201676a715cf240cfc17aec1d62459f92a7cbe7d32d1675e226e736c9 :: 
[autobuild] [DEBUG] Status: Image is up to date for node:20.12 :: 
DEBU[0001] Parallel tasks (0) below minimum, setting to 1 
[autobuild]   🐳  docker create image=node:20.12 platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[autobuild] [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=ARM64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck:<nil> ArgsEscaped:false Image:node:20.12 Volumes:map[] WorkingDir:/Users/casconem/github/emtn-actions Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]}
[autobuild] [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-Actions-Auto-Build-autobuild-88ac0984f1cc1164686306bfde879839baaa597e58b61a66d64c65279076a1e5-env Target:/var/run/act ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-Actions-Auto-Build-autobuild-88ac0984f1cc1164686306bfde879839baaa597e58b61a66d64c65279076a1e5 Target:/Users/casconem/github/emtn-actions ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>}] MaskedPaths:[] ReadonlyPaths:[] Init:<nil>}
[autobuild] [DEBUG] input.NetworkAliases ==> [autobuild]
[autobuild] [DEBUG] Created container name=act-Actions-Auto-Build-autobuild-88ac0984f1cc1164686306bfde879839baaa597e58b61a66d64c65279076a1e5 id=1e10411adca4b045097546a8d0bd286abafa06962aef84177f2a09162b04ee9d from image node:20.12 (platform: linux/amd64)
[autobuild] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=ARM64 RUNNER_TEMP=/tmp LANG=C.UTF-8]
[autobuild]   🐳  docker run image=node:20.12 platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[autobuild] [DEBUG] Starting container: 1e10411adca4b045097546a8d0bd286abafa06962aef84177f2a09162b04ee9d
[autobuild] [DEBUG] Started container: 1e10411adca4b045097546a8d0bd286abafa06962aef84177f2a09162b04ee9d
[autobuild] [DEBUG] Writing entry to tarball workflow/event.json len:2
[autobuild] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[autobuild] [DEBUG] Extracting content to '/var/run/act/'
DEBU[0001] Parallel tasks (0) below minimum, setting to 1 
[autobuild]   🐳  docker exec cmd=[node --no-warnings -e console.log(process.execPath)] user= workdir=
[autobuild] [DEBUG] Exec command '[node --no-warnings -e console.log(process.execPath)]'
[autobuild] [DEBUG] Working directory '/Users/casconem/github/emtn-actions'
[autobuild] [DEBUG] Loading revision from git directory
[autobuild] [DEBUG] Found revision: b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964
[autobuild] [DEBUG] HEAD points to 'b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964'
[autobuild] [DEBUG] using github ref: refs/heads/EMTN-28911-autobuild
[autobuild] [DEBUG] Found revision: b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964
[autobuild] [DEBUG] Loading revision from git directory
[autobuild] [DEBUG] Found revision: b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964
[autobuild] [DEBUG] HEAD points to 'b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964'
[autobuild] [DEBUG] using github ref: refs/heads/EMTN-28911-autobuild
[autobuild] [DEBUG] Found revision: b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964
[autobuild] [DEBUG] skipping post step for 'autocommit'; step was not executed
[autobuild] [DEBUG] skipping post step for 'set up node'; step was not executed
[autobuild] [DEBUG] skipping post step for 'Checkout'; step was not executed
[autobuild] Cleaning up container for job autobuild
[autobuild] [DEBUG] Removed container: 1e10411adca4b045097546a8d0bd286abafa06962aef84177f2a09162b04ee9d
[autobuild] [DEBUG]   🐳  docker volume rm act-Actions-Auto-Build-autobuild-88ac0984f1cc1164686306bfde879839baaa597e58b61a66d64c65279076a1e5
[autobuild] [DEBUG]   🐳  docker volume rm act-Actions-Auto-Build-autobuild-88ac0984f1cc1164686306bfde879839baaa597e58b61a66d64c65279076a1e5-env
[autobuild] 🏁  Job succeeded
[autobuild] [DEBUG] Loading revision from git directory
[autobuild] [DEBUG] Found revision: b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964
[autobuild] [DEBUG] HEAD points to 'b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964'
[autobuild] [DEBUG] using github ref: refs/heads/EMTN-28911-autobuild
[autobuild] [DEBUG] Found revision: b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964
Error: failed to fetch "https://github.com/actions/checkout" version "v4": authentication required

Additional information

No response

Originally created by @mcascone on GitHub (Sep 17, 2024). Original GitHub issue: https://github.com/nektos/act/issues/2463 ### Bug report info ```plain text act version: 0.2.67 GOOS: darwin GOARCH: arm64 NumCPU: 12 Docker host: DOCKER_HOST environment variable is not set Sockets found: /var/run/docker.sock $HOME/.docker/run/docker.sock Config files: /Users/casconem/Library/Application Support/act/actrc: -P ubuntu-latest=node:16-buster-slim -P ubuntu-22.04=node:16-bullseye-slim -P ubuntu-20.04=node:16-buster-slim -P ubuntu-18.04=node:16-buster-slim /Users/casconem/.actrc: --log-prefix-job-id --workflows ./.github/workflows/autobuild.yml --container-architecture=linux/amd64 -s GITHUB_TOKEN="$(gh auth token)" ; -s TOKEN_GIT="$(gh auth token)" --artifact-server-path=/Users/casconem/.act ; --pull=false --local-repository https://github.com/my-org/org-actions=/Users/casconem/github/org-actions --local-repository https://github.com/my-org/cloud-devops=/Users/casconem/github/cloud-devops ; --local-repository https://github.com/my-org/org-actions-git-auto-commit=/Users/casconem/github/org-actions-git-auto-commit --platform linux=node:20.12 ; --platform ubuntu-latest=mcascone/act-custom-image:node-16-buster-slim Build info: Go version: go1.23.1 Module path: command-line-arguments Main version: Main path: Main checksum: Build settings: -buildmode: exe -compiler: gc -ldflags: -X main.version=0.2.67 DefaultGODEBUG: asynctimerchan=1,gotypesalias=0,httplaxcontentlength=1,httpmuxgo121=1,httpservecontentkeepheaders=1,tls10server=1,tls3des=1,tlskyber=0,tlsrsakex=1,tlsunsafeekm=1,winreadlinkvolume=0,winsymlink=0,x509keypairleaf=0,x509negativeserial=1 CGO_ENABLED: 1 CGO_CFLAGS: CGO_CPPFLAGS: CGO_CXXFLAGS: CGO_LDFLAGS: GOARCH: arm64 GOOS: darwin GOARM64: v8.0 Docker Engine: Engine version: 27.2.0 Engine runtime: runc Cgroup version: 2 Cgroup driver: cgroupfs Storage driver: overlay2 Registry URI: https://index.docker.io/v1/ OS: Docker Desktop OS type: linux OS version: OS arch: aarch64 OS kernel: 6.10.4-linuxkit OS CPU: 12 OS memory: 7838 MB Security options: name=seccomp,profile=unconfined name=cgroupns ``` ### Command used with act ```sh act # note i have a pretty big .actrc, see bug report output above ``` ### Describe issue when running act, I get this error: ``` ❯ act INFO[0000] Using docker host 'unix:///var/run/docker.sock', and daemon socket 'unix:///var/run/docker.sock' INFO[0000] Start server on http://10.27.147.234:34567 [autobuild] 🚀 Start image=node:20.12 [autobuild] 🐳 docker pull image=node:20.12 platform=linux/amd64 username= forcePull=true [autobuild] using DockerAuthConfig authentication for docker pull [autobuild] 🐳 docker create image=node:20.12 platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" [autobuild] 🐳 docker run image=node:20.12 platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" [autobuild] 🐳 docker exec cmd=[node --no-warnings -e console.log(process.execPath)] user= workdir= [autobuild] Cleaning up container for job autobuild [autobuild] 🏁 Job succeeded Error: failed to fetch "https://github.com/actions/checkout" version "v4": authentication required ``` I would expect that `actions/checkout` would be one of the most widely supported actions without any auth. ### Link to GitHub repository _No response_ ### Workflow content ```yml name: Actions Auto Build on: push: pull_request: workflow_dispatch: jobs: autobuild: runs-on: linux # runs-on: ubuntu-latest timeout-minutes: 5 steps: - name: Checkout uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} - name: set up node uses: actions/setup-node@v4 with: node-version: 20 cache: npm - name: install dependencies run: npm ci - name: build run: npm run build - name: test run: npm run test - name: autocommit uses: ./actions/utility/autocommit with: file_pattern: 'dist/**' commit_message: 'dist folder autocommit' ``` ### Relevant log output ```sh ❯ act -v 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 /Users/casconem/github/emtn-actions/.env DEBU[0000] Loading action inputs from /Users/casconem/github/emtn-actions/.input DEBU[0000] Loading secrets from /Users/casconem/github/emtn-actions/.secrets DEBU[0000] Loading vars from /Users/casconem/github/emtn-actions/.vars DEBU[0000] Evaluated matrix inclusions: map[] DEBU[0000] Loading workflow '/Users/casconem/github/emtn-actions/.github/workflows/autobuild.yml' DEBU[0000] Reading workflow '/Users/casconem/github/emtn-actions/.github/workflows/autobuild.yml' DEBU[0000] Conditional GET for notices etag=0a02121a-0b0d-464c-b9aa-f22faa5046b2 DEBU[0000] Preparing plan with all jobs DEBU[0000] Using default workflow event: push DEBU[0000] Planning jobs for event: push DEBU[0000] Artifacts base path '/Users/casconem/.act' DEBU[0000] gc: 2024-09-17 15:01:32.617898 -0500 CDT m=+0.023131959 module=artifactcache INFO[0000] Start server on http://10.27.147.234:34567 DEBU[0000] Plan Stages: [0x140003c8378] DEBU[0000] Stages Runs: [autobuild] DEBU[0000] Job.Name: autobuild DEBU[0000] Job.RawNeeds: {0 0 <nil> [] 0 0} DEBU[0000] Job.RawRunsOn: {8 0 !!str linux <nil> [] 10 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 DEBU[0000] Job.Steps: set up node DEBU[0000] Job.Steps: install dependencies DEBU[0000] Job.Steps: build DEBU[0000] Job.Steps: test DEBU[0000] Job.Steps: autocommit DEBU[0000] Job.TimeoutMinutes: 5 DEBU[0000] Job.Services: map[] DEBU[0000] Job.Strategy: <nil> DEBU[0000] Job.RawContainer: {0 0 <nil> [] 0 0} 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: b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964 DEBU[0000] HEAD points to 'b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964' DEBU[0000] using github ref: refs/heads/EMTN-28911-autobuild DEBU[0000] Found revision: b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964 DEBU[0000] Detected CPUs: 12 [autobuild] [DEBUG] evaluating expression 'success()' [autobuild] [DEBUG] expression 'success()' evaluated to 'true' [autobuild] 🚀 Start image=node:20.12 DEBU[0000] Parallel tasks (0) below minimum, setting to 1 [autobuild] 🐳 docker pull image=node:20.12 platform=linux/amd64 username= forcePull=true [autobuild] [DEBUG] 🐳 docker pull node:20.12 [autobuild] [DEBUG] pulling image 'docker.io/library/node:20.12' (linux/amd64) [autobuild] using DockerAuthConfig authentication for docker pull DEBU[0000] Saving notices etag=0a02121a-0b0d-464c-b9aa-f22faa5046b2 DEBU[0000] No new notices [autobuild] [DEBUG] Pulling from library/node :: 20.12 [autobuild] [DEBUG] Digest: sha256:3864be2201676a715cf240cfc17aec1d62459f92a7cbe7d32d1675e226e736c9 :: [autobuild] [DEBUG] Status: Image is up to date for node:20.12 :: DEBU[0001] Parallel tasks (0) below minimum, setting to 1 [autobuild] 🐳 docker create image=node:20.12 platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" [autobuild] [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=ARM64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck:<nil> ArgsEscaped:false Image:node:20.12 Volumes:map[] WorkingDir:/Users/casconem/github/emtn-actions Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} [autobuild] [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-Actions-Auto-Build-autobuild-88ac0984f1cc1164686306bfde879839baaa597e58b61a66d64c65279076a1e5-env Target:/var/run/act ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-Actions-Auto-Build-autobuild-88ac0984f1cc1164686306bfde879839baaa597e58b61a66d64c65279076a1e5 Target:/Users/casconem/github/emtn-actions ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>}] MaskedPaths:[] ReadonlyPaths:[] Init:<nil>} [autobuild] [DEBUG] input.NetworkAliases ==> [autobuild] [autobuild] [DEBUG] Created container name=act-Actions-Auto-Build-autobuild-88ac0984f1cc1164686306bfde879839baaa597e58b61a66d64c65279076a1e5 id=1e10411adca4b045097546a8d0bd286abafa06962aef84177f2a09162b04ee9d from image node:20.12 (platform: linux/amd64) [autobuild] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=ARM64 RUNNER_TEMP=/tmp LANG=C.UTF-8] [autobuild] 🐳 docker run image=node:20.12 platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host" [autobuild] [DEBUG] Starting container: 1e10411adca4b045097546a8d0bd286abafa06962aef84177f2a09162b04ee9d [autobuild] [DEBUG] Started container: 1e10411adca4b045097546a8d0bd286abafa06962aef84177f2a09162b04ee9d [autobuild] [DEBUG] Writing entry to tarball workflow/event.json len:2 [autobuild] [DEBUG] Writing entry to tarball workflow/envs.txt len:0 [autobuild] [DEBUG] Extracting content to '/var/run/act/' DEBU[0001] Parallel tasks (0) below minimum, setting to 1 [autobuild] 🐳 docker exec cmd=[node --no-warnings -e console.log(process.execPath)] user= workdir= [autobuild] [DEBUG] Exec command '[node --no-warnings -e console.log(process.execPath)]' [autobuild] [DEBUG] Working directory '/Users/casconem/github/emtn-actions' [autobuild] [DEBUG] Loading revision from git directory [autobuild] [DEBUG] Found revision: b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964 [autobuild] [DEBUG] HEAD points to 'b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964' [autobuild] [DEBUG] using github ref: refs/heads/EMTN-28911-autobuild [autobuild] [DEBUG] Found revision: b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964 [autobuild] [DEBUG] Loading revision from git directory [autobuild] [DEBUG] Found revision: b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964 [autobuild] [DEBUG] HEAD points to 'b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964' [autobuild] [DEBUG] using github ref: refs/heads/EMTN-28911-autobuild [autobuild] [DEBUG] Found revision: b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964 [autobuild] [DEBUG] skipping post step for 'autocommit'; step was not executed [autobuild] [DEBUG] skipping post step for 'set up node'; step was not executed [autobuild] [DEBUG] skipping post step for 'Checkout'; step was not executed [autobuild] Cleaning up container for job autobuild [autobuild] [DEBUG] Removed container: 1e10411adca4b045097546a8d0bd286abafa06962aef84177f2a09162b04ee9d [autobuild] [DEBUG] 🐳 docker volume rm act-Actions-Auto-Build-autobuild-88ac0984f1cc1164686306bfde879839baaa597e58b61a66d64c65279076a1e5 [autobuild] [DEBUG] 🐳 docker volume rm act-Actions-Auto-Build-autobuild-88ac0984f1cc1164686306bfde879839baaa597e58b61a66d64c65279076a1e5-env [autobuild] 🏁 Job succeeded [autobuild] [DEBUG] Loading revision from git directory [autobuild] [DEBUG] Found revision: b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964 [autobuild] [DEBUG] HEAD points to 'b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964' [autobuild] [DEBUG] using github ref: refs/heads/EMTN-28911-autobuild [autobuild] [DEBUG] Found revision: b7fb5c46290a3f4c6bfe7bb5438aa685aaaa3964 Error: failed to fetch "https://github.com/actions/checkout" version "v4": authentication required ``` ### Additional information _No response_
kerem 2026-03-01 21:49:11 +03:00
Author
Owner

@ChristopherHX commented on GitHub (Sep 18, 2024):

@mcascone delete -s GITHUB_TOKEN="$(gh auth token)" from .actrc

You applied an hallucination to your .actrc, commands are not supported and using an invalid string for auth is error authentication required

Adding this as a feature is security nightmare, easy to exploit any user of act

This is not a bug

<!-- gh-comment-id:2359333278 --> @ChristopherHX commented on GitHub (Sep 18, 2024): @mcascone delete `-s GITHUB_TOKEN="$(gh auth token)"` from .actrc You applied an hallucination to your .actrc, commands are not supported and using an invalid string for auth is error authentication required **Adding this as a feature is security nightmare, easy to exploit any user of act** This is not a bug
Author
Owner

@mcascone commented on GitHub (Sep 19, 2024):

Thanks for replying! I didn't know I couldn't put a command in my .actrc. Is that documented anywhere? It was just an effort to reduce keystrokes.

It seems to work when i remove the TOKEN line from my .actrc, and just run act -s GITHUB_TOKEN=$(gh auth login)

Thanks for the tip!

<!-- gh-comment-id:2359655574 --> @mcascone commented on GitHub (Sep 19, 2024): Thanks for replying! I didn't know I couldn't put a command in my `.actrc.` Is that documented anywhere? It was just an effort to reduce keystrokes. It seems to work when i remove the TOKEN line from my `.actrc`, and just run `act -s GITHUB_TOKEN=$(gh auth login)` Thanks for the tip!
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#1137
No description provided.