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

[BUG] ::error::crypto is not defined #2343

Closed
4 tasks done
robbat2 opened this issue Nov 7, 2024 · 4 comments
Closed
4 tasks done

[BUG] ::error::crypto is not defined #2343

robbat2 opened this issue Nov 7, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@robbat2
Copy link

robbat2 commented Nov 7, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Does this issue exist in the latest version?

  • I'm using the latest release

Describe the bug?

Action fails with ::error::crypto is not defined

To Reproduce

#2326 was closed with no resolution.

rjohnson@rjohnson-1:/$ git clone https://github.com/robbat2/tj-actions-changed-files-crypto-bug.git /tmp/test2
Cloning into '/tmp/test2'...
remote: Enumerating objects: 10, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 10 (delta 0), reused 10 (delta 0), pack-reused 0 (from 0)
Receiving objects: 100% (10/10), done.

rjohnson@rjohnson-1:/$ cd /tmp/test2
rjohnson@rjohnson-1:/tmp/test2$ gh act
INFO[0000] Using docker host 'unix:///var/run/docker.sock', and daemon socket 'unix:///var/run/docker.sock'
[test/Test added-files] 🚀  Start image=catthehacker/ubuntu:runner-22.04
[test/Test added-files]   🐳  docker pull image=catthehacker/ubuntu:runner-22.04 platform= username= forcePull=true
[test/Test added-files]   🐳  docker create image=catthehacker/ubuntu:runner-22.04 platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[test/Test added-files]   🐳  docker run image=catthehacker/ubuntu:runner-22.04 platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[test/Test added-files]   🐳  docker exec cmd=[chown -R 1001:1001 /tmp/test2] user=0 workdir=
[test/Test added-files]   🐳  docker exec cmd=[node --no-warnings -e console.log(process.execPath)] user= workdir=
[test/Test added-files]   ☁  git clone 'https://github.com/tj-actions/changed-files' # ref=v45
[test/Test added-files]  Run Main actions/checkout@v4
[test/Test added-files]   🐳  docker ip src=/tmp/test2/. dst=/tmp/test2
[test/Test added-files]   🐳  docker exec cmd=[chown -R 1001:1001 /tmp/test2] user=0 workdir=
[test/Test added-files]   🐳  Success - Main actions/checkout@v4
[test/Test added-files]  Run Main Check changed files
[test/Test added-files]   🐳  docker cp sra=/home/rjohnson/.cache/act/tj-actions-changed-files@v45/ dst=/var/run/act/actions/tj-actions-changed-files@v45/
[test/Test added-files]   🐳  docker exec amd=[chown -R 1001:1001 /var/run/act/actions/tj-actions-changed-files@v45/] user=0 workdir=
[test/Test added-files]   🐳  docker exec amd=[/opt/acttoolcache/node/18.20.4/x64/bin/node /var/run/act/actions/tj-actions-changed-files@v45/dist/index.js] user= workdir=
[test/Test added-files]   🐳  ::group::changed-files
[test/Test added-files]   💬  ::debug::Env: {%0A  "GITHUB_REF_NAME": "master",%0A  "GITHUB_REF": "refs/heads/master",%0A  "GITHUB_WORKSPACE": "/tmp/test2"%0A}
[test/Test added-files]   💬  ::debug::Inputs: {%0A  "files": "**.txt",%0A  "filesSeparator": "\n",%0A  "filesFromSourceFile": "",%0A  "filesFromSourceFileSeparator": "\n",%0A  "filesYaml": "",%0A  "file
sYamlFromSourceFile": "",%0A  "filesYamlFromSourceFileSeparator": "\n",%0A  "filesIgnore": "",%0A  "filesIgnoreSeparator": "\n",%0A  "filesIgnoreFromSourceFile": "",%0A  "filesIgnoreFromSourceFileSeparat
or": "\n",%0A  "filesIgnoreYaml": "",%0A  "filesIgnoreYamlFromSourceFile": "",%0A  "filesIgnoreYamlFromSourceFileSeparator": "\n",%0A  "failOnInitialDiffError": false,%0A  "failOnSubmoduleDiffError": fal
se,%0A  "separator": " ",%0A  "sha": "",%0A  "baseSha": "",%0A  "since": "",%0A  "until": "",%0A  "path": ".",%0A  "quotepath": true,%0A  "diffRelative": true,%0A  "sinceLastRemoteCommit": false,%0A  "re
coverDeletedFiles": false,%0A  "recoverDeletedFilesToDestination": "",%0A  "recoverFiles": "",%0A  "recoverFilesSeparator": "\n",%0A  "recoverFilesIgnore": "",%0A  "recoverFilesIgnoreSeparator": "\n",%0A
  "includeAllOldNewRenamedFiles": false,%0A  "oldNewSeparator": ",",%0A  "oldNewFilesSeparator": " ",%0A  "skipInitialFetch": false,%0A  "fetchAdditionalSubmoduleHistory": false,%0A  "dirNamesDeletedFile
sIncludeOnlyDeletedDirs": false,%0A  "excludeSubmodules": false,%0A  "usePosixPathSeparator": false,%0A  "tagsPattern": "*",%0A  "tagsIgnorePattern": "",%0A  "dirNames": false,%0A  "dirNamesExcludeCurren
tDir": false,%0A  "dirNamesIncludeFiles": "",%0A  "dirNamesIncludeFilesSeparator": "\n",%0A  "json": false,%0A  "escapeJson": true,%0A  "safeOutput": true,%0A  "writeOutputFiles": false,%0A  "outputDir":
 ".github/outputs",%0A  "outputRenamedFilesAsDeletedAndAdded": false,%0A  "token": "",%0A  "apiUrl": "https://api.github.com",%0A  "negationPatternsFirst": false,%0A  "useRestApi": false,%0A  "fetchDepth
": 25,%0A  "fetchMissingHistoryMaxRetries": 20%0A}
[test/Test added-files]   💬  ::debug::Working directory: /tmp/test2
[test/Test added-files]   💬  ::debug::Has git directory: true
[test/Test added-files]   💬  ::debug::files patterns: **.txt
[test/Test added-files]   💬  ::debug::Input file patterns: %0A**.txt
[test/Test added-files]   💬  ::debug::File patterns: **.txt
[test/Test added-files]   💬  ::debug::Yaml file patterns: {}
| Using local .git directory
| Running on a push event...
[test/Test added-files]   💬  ::debug::Getting current SHA...
[test/Test added-files]   💬  ::debug::Current SHA: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files]   💬  ::debug::Getting previous SHA...
[test/Test added-files]   💬  ::debug::Getting previous SHA for last remote commit...
[test/Test added-files]   💬  ::debug::Previous SHA: 571e9285b8d8e3f53bc5ddac87bd196df590bddc
[test/Test added-files]   💬  ::debug::Target branch: master
[test/Test added-files]   💬  ::debug::Current branch: master
| Retrieving changes between 571e9285b8d8e3f53bc5ddac87bd196df590bddc (master) → ba07e54f7e3be21cbe19f6caa80a5fc69edf9681 (master)
[test/Test added-files]   💬  ::debug::All diff files: {"A":[".github/workflows/test.yml"],"C":[],"D":[],"M":[],"R":[],"T":[],"U":[],"X":[]}
| All Done!
[test/Test added-files]     ::endgroup::
[test/Test added-files]     ::engroup::changed-files-patterns
[test/Test added-files]   💬::endebug::All filtered diff files: {"A":[],"C":[],"D":[],"M":[],"R":[],"T":[],"U":[],"X":[]}
[test/Test added-files]   💬::endebug::Dir names include file patterns: []
[test/Test added-files]   💬::endebug::Added files: {"paths":"","count":"0"}
[test/Test added-files]   💬::enerror::crypto is not defined
[test/Test added-files]   💬::Failure - Main Check changed files
[test/Test added-files] exitcode '1': failure
[test/Test added-files] Cleaning up container for job Test added-files
[test/Test added-files] 🏁  Job failed
Error: Job 'Test added-files' failed

$ cat .github/workflows/test.yml
name: test
on:
  push:
   branches:
     - main

jobs:
  changed_files:
    runs-on: ubuntu-latest
    name: Test added-files
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - id: changed-files
        name: Check changed files
        uses: tj-actions/changed-files@v45
        with:
          files: |
            **.txt

What OS are you seeing the problem on?

ubuntu-latest or ubuntu-22.04

Expected behavior?

  • The action should have listed the changed files.
  • The above is a minimal reproduction of the bug, I have run into it on more complex repos as well.

Relevant log output

rjohnson@rjohnson-1:/tmp/test2$ gh act --verbose
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 /tmp/test2/.env
DEBU[0000] Loading action inputs from /tmp/test2/.input
DEBU[0000] Loading secrets from /tmp/test2/.secrets
DEBU[0000] Loading vars from /tmp/test2/.vars
DEBU[0000] Evaluated matrix inclusions: map[]
DEBU[0000] Loading workflows from '/tmp/test2/.github/workflows'
DEBU[0000] Loading workflows recursively
DEBU[0000] Found workflow 'test.yml' in '/tmp/test2/.github/workflows/test.yml'
DEBU[0000] Conditional GET for notices etag=5918156b-ade6-4f9f-b926-0c234b80736e
DEBU[0000] Reading workflow '/tmp/test2/.github/workflows/test.yml'
DEBU[0000] Preparing plan with all jobs
DEBU[0000] Using the only detected workflow event: push
DEBU[0000] Planning jobs for event: push
DEBU[0000] gc: 2024-11-06 21:33:53.547206115 -0800 PST m=+0.012594262  module=artifactcache
DEBU[0000] Plan Stages: [0xc0001203c0]
DEBU[0000] Stages Runs: [Test added-files]
DEBU[0000] Job.Name: Test added-files
DEBU[0000] Job.RawNeeds: {0 0    <nil> []    0 0}
DEBU[0000] Job.RawRunsOn: {8 0 !!str ubuntu-latest  <nil> []    9 14}
DEBU[0000] Job.Env: {0 0    <nil> []    0 0}
DEBU[0000] Job.If: {0 0  success()  <nil> []    0 0}
DEBU[0000] Job.Steps: actions/checkout@v4
DEBU[0000] Job.Steps: Check changed files
DEBU[0000] Job.TimeoutMinutes:
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: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
DEBU[0000] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
DEBU[0000] using github ref: refs/heads/master
DEBU[0000] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
DEBU[0000] Detected CPUs: 16
[test/Test added-files] [DEBUG] evaluating expression 'success()'
[test/Test added-files] [DEBUG] expression 'success()' evaluated to 'true'
[test/Test added-files] 🚀  Start image=catthehacker/ubuntu:runner-22.04
DEBU[0000] Parallel tasks (0) below minimum, setting to 1
[test/Test added-files]   🐳  docker pull image=catthehacker/ubuntu:runner-22.04 platform= username= forcePull=true
[test/Test added-files] [DEBUG]   🐳  docker pull catthehacker/ubuntu:runner-22.04
[test/Test added-files] [DEBUG] pulling image 'docker.io/catthehacker/ubuntu:runner-22.04' ()
DEBU[0000] Saving notices etag=5918156b-ade6-4f9f-b926-0c234b80736e
DEBU[0000] No new notices
[test/Test added-files] [DEBUG] Pulling from catthehacker/ubuntu :: runner-22.04
[test/Test added-files] [DEBUG] Digest: sha256:e53f0e90a7a084d95f05c6cac6f437a53cbc2e359ebfd304b060f74cf2b2ad6b ::
[test/Test added-files] [DEBUG] Status: Image is up to date for catthehacker/ubuntu:runner-22.04 ::
DEBU[0000] Parallel tasks (0) below minimum, setting to 1
[test/Test added-files]   🐳  docker create image=catthehacker/ubuntu:runner-22.04 platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[test/Test added-files] [DEBUG] Common container.Config ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:true OpenStdin:false StdinOnce:fal
se 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:catthehacker/ubuntu:runner-22.04 Volumes:map
[] WorkingDir:/tmp/test2 Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]}
[test/Test added-files] [DEBUG] Common container.HostConfig ==> &{Binds:[/var/run/docker.sock:/var/run/docker.sock] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:host PortBindings:map[] Res
tartPolicy:{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 Sysctl
s:map[] Runtime: Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWrit
eIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DeviceRequests:[] KernelMemory:0 KernelMemoryTCP:0 MemoryReservation:0 Mem
orySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:<nil> Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[{Type:volume Source:act-test-Test-added-files-1a8063
f93861cfaedf47b750f27818dadd060e9f9456b1d6a0750a6c79d51be5-env Target:/var/run/act ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume
Source:act-test-Test-added-files-1a8063f93861cfaedf47b750f27818dadd060e9f9456b1d6a0750a6c79d51be5 Target:/tmp/test2 ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> Cl
usterOptions:<nil>} {Type:volume Source:act-toolcache Target:/opt/hostedtoolcache ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>}] MaskedPaths:[
] ReadonlyPaths:[] Init:<nil>}
[test/Test added-files] [DEBUG] Custom container.Config from options ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:true ExposedPorts:map[] Tty:false OpenStd[355/1975]
tdinOnce:false Env:[] Cmd:[] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> She
ll:[]}
[test/Test added-files] [DEBUG] Merged container.Config ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:true 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:catthehacker/ubuntu:runner-22.04 Volumes:map[]
 WorkingDir:/tmp/test2 Entrypoint:[tail -f /dev/null] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]}
[test/Test added-files] [DEBUG] Custom container.HostConfig from options ==> &{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:host PortBindings:map[] RestartPolicy:{Name:no MaximumR
etryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] ConsoleSize:[0 0] Annotations:map[] CapAdd:[] CapDrop:[] CgroupnsMode: DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[998] IpcMode: C
group: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:0 Sysctls:map[] Runtime: Isolat
ion: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CP
UQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DeviceRequests:[] KernelMemory:0 KernelMemoryTCP:0 MemoryReservation:0 MemorySwap:0 MemorySwappin
ess:0xc000368ec0 OomKillDisable:0xc000368dbb PidsLimit:0xc000368f20 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] MaskedPaths:[] ReadonlyPaths:[] Init:<nil>}
[test/Test added-files] [DEBUG] Merged container.HostConfig ==> &{Binds:[/var/run/docker.sock:/var/run/docker.sock] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:host PortBindings:map[] Res
tartPolicy:{Name:no MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] ConsoleSize:[0 0] Annotations:map[] CapAdd:[] CapDrop:[] CgroupnsMode: DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:
[] GroupAdd:[998] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:0 S
ysctls:map[] Runtime: Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDevic
eWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DeviceRequests:[] KernelMemory:0 KernelMemoryTCP:0 MemoryReservation:
0 MemorySwap:0 MemorySwappiness:0xc000368ec0 OomKillDisable:0xc000368dbb PidsLimit:0xc000368f20 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[{Type:volume Source:act-te
st-Test-added-files-1a8063f93861cfaedf47b750f27818dadd060e9f9456b1d6a0750a6c79d51be5-env Target:/var/run/act ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOp
tions:<nil>} {Type:volume Source:act-test-Test-added-files-1a8063f93861cfaedf47b750f27818dadd060e9f9456b1d6a0750a6c79d51be5 Target:/tmp/test2 ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<
nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-toolcache Target:/opt/hostedtoolcache ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOpt
ions:<nil>}] MaskedPaths:[] ReadonlyPaths:[] Init:<nil>}
[test/Test added-files] [DEBUG] input.NetworkAliases ==> [Test added-files]
[test/Test added-files] [DEBUG] Created container name=act-test-Test-added-files-1a8063f93861cfaedf47b750f27818dadd060e9f9456b1d6a0750a6c79d51be5 id=c749ec70f30af5b756edb08f3b71b5321c4ccddf4aa2f54a80d466
ab3b8248af from image catthehacker/ubuntu:runner-22.04 (platform: )
[test/Test added-files] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8]
[test/Test added-files]   🐳  docker run image=catthehacker/ubuntu:runner-22.04 platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[test/Test added-files] [DEBUG] Starting container: c749ec70f30af5b756edb08f3b71b5321c4ccddf4aa2f54a80d466ab3b8248af
[test/Test added-files] [DEBUG] Started container: c749ec70f30af5b756edb08f3b71b5321c4ccddf4aa2f54a80d466ab3b8248af
[test/Test added-files]   🐳  docker exec cmd=[chown -R 1001:1001 /tmp/test2] user=0 workdir=
[test/Test added-files] [DEBUG] Exec command '[chown -R 1001:1001 /tmp/test2]'
[test/Test added-files] [DEBUG] Working directory '/tmp/test2'
[test/Test added-files] [DEBUG] Writing entry to tarball workflow/event.json len:2
[test/Test added-files] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[test/Test added-files] [DEBUG] Extracting content to '/var/run/act/'
DEBU[0000] Parallel tasks (0) below minimum, setting to 1
[test/Test added-files]   🐳  docker exec cmd=[node --no-warnings -e console.log(process.execPath)] user= workdir=
[test/Test added-files] [DEBUG] Exec command '[node --no-warnings -e console.log(process.execPath)]'
[test/Test added-files] [DEBUG] Working directory '/tmp/test2'
[test/Test added-files] [DEBUG] Loading revision from git directory
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
[test/Test added-files] [DEBUG] using github ref: refs/heads/master
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] Loading revision from git directory
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
[test/Test added-files] [DEBUG] using github ref: refs/heads/master
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] Skipping local actions/checkout because workdir was already copied
[test/Test added-files] [DEBUG] skip pre step for 'actions/checkout@v4': no action model available
[test/Test added-files] [DEBUG] Loading revision from git directory
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
[test/Test added-files] [DEBUG] using github ref: refs/heads/master
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files]   ☁  git clone 'https://github.com/tj-actions/changed-files' # ref=v45
[test/Test added-files] [DEBUG]   cloning https://github.com/tj-actions/changed-files to /home/rjohnson/.cache/act/tj-actions-changed-files@v45
[test/Test added-files] [DEBUG] Unable to pull refs/heads/v45: worktree contains unstaged changes
[test/Test added-files] [DEBUG] Cloned https://github.com/tj-actions/changed-files to /home/rjohnson/.cache/act/tj-actions-changed-files@v45
[test/Test added-files] [DEBUG] Checked out v45
[test/Test added-files] [DEBUG] Read action &{Changed Files tj-actions Get all Added, Copied, Modified, Deleted, Renamed, Type changed, Unmerged, and Unknown files. map[api_url:{Github API URL. false ${{
 github.api_url }}} base_sha:{Specify a different base commit SHA or branch used for comparing changes false } diff_relative:{Exclude changes outside the current directory and show path names relative to
 it. NOTE: This requires you to specify the top-level directory via the `path` input. false true} dir_names:{Output unique changed directories instead of filenames. NOTE: This returns `.` for changed fil
es located in the current working directory which defaults to `$GITHUB_WORKSPACE`. false false} dir_names_deleted_files_include_only_deleted_dirs:{Include only directories that have been deleted as oppos
ed to directory names of files that have been deleted in the `deleted_files` output when `dir_names` is set to `true`. false false} dir_names_exclude_current_dir:{Exclude the current directory represente
d by `.` from the output when `dir_names` is set to `true`. false false} dir_names_include_files:{File and directory patterns to include in the output when `dir_names` is set to `true`. NOTE: This return
s only the matching files and also the directory names. false } dir_names_include_files_separator:{Separator used to split the `dir_names_include_files` input false
} dir_names_max_depth:{Limit the directory output to a maximum depth e.g `test/test1/test2` with max depth of `2` returns `test/test1`. false } escape_json:{Escape JSON output. false true} exclude_submod
ules:{Exclude changes to submodules. false false} fail_on_initial_diff_error:{Fail when the initial diff fails. false false} fail_on_submodule_diff_error:{Fail when the submodule diff fails. false false}
 fetch_additional_submodule_history:{Fetch additional history for submodules. false false} fetch_depth:{Depth of additional branch history fetched. NOTE: This can be adjusted to resolve errors with insuf
ficient history. false 25} fetch_missing_history_max_retries:{Maximum number of retries to fetch missing history. false 20} files:{File and directory patterns used to detect changes (Defaults to the enti
re repo if unset).
NOTE: Multiline file/directory patterns should not include quotes.
 false } files_from_source_file:{Source file(s) used to populate the `files` input. false } files_from_source_file_separator:{Separator used to split the `files_from_source_file` input. false
} files_ignore:{Ignore changes to these file(s). NOTE: Multiline file/directory patterns should not include quotes. false } files_ignore_from_source_file:{Source file(s) used to populate the `files_ignor
e` input false } files_ignore_from_source_file_separator:{Separator used to split the `files_ignore_from_source_file` input false
} files_ignore_separator:{Separator used to split the `files_ignore` input false
} files_ignore_yaml:{YAML used to define a set of file patterns to ignore changes false } files_ignore_yaml_from_source_file:{Source file(s) used to populate the `files_ignore_yaml` input. Example: https
://github.com/tj-actions/changed-files/blob/main/test/changed-files.yml false } files_ignore_yaml_from_source_file_separator:{Separator used to split the `files_ignore_yaml_from_source_file` input false
} files_separator:{Separator used to split the `files` input false
} files_yaml:{YAML used to define a set of file patterns to detect changes false } files_yaml_from_source_file:{Source file(s) used to populate the `files_yaml` input. Example: https://github.com/tj-acti
ons/changed-files/blob/main/test/changed-files.yml false } files_yaml_from_source_file_separator:{Separator used to split the `files_yaml_from_source_file` input false
} include_all_old_new_renamed_files:{Include `all_old_new_renamed_files` output. Note this can generate a large output See: #501. false false} json:{Output list of changed files in a JSON formatted strin
g which can be used for matrix jobs. Example: https://github.com/tj-actions/changed-files/blob/main/.github/workflows/matrix-example.yml false false} matrix:{Output changed files in a format that can be
used for matrix jobs. Alias for setting inputs `json` to `true` and `escape_json` to `false`. false false} negation_patterns_first:{Apply the negation patterns first. NOTE: This affects how changed files
 are matched. false false} old_new_files_separator:{Split character for old and new renamed filename pairs. false  } old_new_separator:{Split character for old and new filename pairs. false ,} output_dir
:{Directory to store output files. false .github/outputs} output_renamed_files_as_deleted_and_added:{Output renamed files as deleted and added files. false false} path:{Specify a relative path under `$GI
THUB_WORKSPACE` to locate the repository. false .} quotepath:{Use non-ASCII characters to match files and output the filenames completely verbatim by setting this to `false` false true} recover_deleted_f
iles:{Recover deleted files. false false} recover_deleted_files_to_destination:{Recover deleted files to a new destination directory, defaults to the original location. false } recover_files:{File and di
rectory patterns used to recover deleted files,
defaults to the patterns provided via the `files`, `files_from_source_file`, `files_ignore` and `files_ignore_from_source_file` inputs
or all deleted files if no patterns are provided.
 false } recover_files_ignore:{File and directory patterns to ignore when recovering deleted files. false } recover_files_ignore_separator:{Separator used to split the `recover_files_ignore` input false
} recover_files_separator:{Separator used to split the `recover_files` input false
} safe_output:{Apply sanitization to output filenames before being set as output. false true} separator:{Split character for output strings. false  } sha:{Specify a different commit SHA or branch used fo
r comparing changes false } since:{Get changed files for commits whose timestamp is older than the given time. false } since_last_remote_commit:{Use the last commit on the remote branch as the `base_sha`
. Defaults to the last non-merge commit on the target branch for pull request events and the previous remote commit of the current branch for push events. false false} skip_initial_fetch:{Skip initially
fetching additional history to improve performance for shallow repositories.
NOTE: This could lead to errors with missing history. It's intended to be used when you've fetched all necessary history to perform the diff.
 false false} tags_ignore_pattern:{Tags pattern to ignore. false } tags_pattern:{Tags pattern to include. false *} token:{GitHub token used to fetch changed files from Github's API. false ${{ github.toke
n }}} until:{Get changed files for commits whose timestamp is earlier than the given time. false } use_posix_path_separator:{Use POSIX path separator `/` for output file paths on Windows. false false} us
e_rest_api:{Force the use of Github's REST API even when a local copy of the repository exists false false} write_output_files:{Write outputs to the `output_dir` defaults to `.github/outputs` folder. NOT
E: This creates a `.txt` file by default and a `.json` file if `json` is set to `true`. false false}] map[added_files:{Returns only files that are Added (A). } added_files_count:{Returns the number of `a
dded_files` } all_changed_and_modified_files:{Returns all changed and modified files i.e. a combination of (ACMRDTUX) } all_changed_and_modified_files_count:{Returns the number of `all_changed_and_modifi
ed_files` } all_changed_files:{Returns all changed files i.e. a combination of all added, copied, modified and renamed files (ACMR) } all_changed_files_count:{Returns the number of `all_changed_files` }
all_modified_files:{Returns all changed files i.e. a combination of all added, copied, modified, renamed and deleted files (ACMRD). } all_modified_files_count:{Returns the number of `all_modified_files`
} all_old_new_renamed_files:{Returns only files that are Renamed and lists their old and new names. **NOTE:** This requires setting `include_all_old_new_renamed_files` to `true`. Also, keep in mind that
this output is global and wouldn't be nested in outputs generated when the `*_yaml_*` input is used. (R) } all_old_new_renamed_files_count:{Returns the number of `all_old_new_renamed_files` } any_changed
:{Returns `true` when any of the filenames provided using the `files*` or `files_ignore*` inputs have changed. This defaults to `true` when no patterns are specified. i.e. *includes a combination of all
added, copied, modified and renamed files (ACMR)*. } any_deleted:{Returns `true` when any of the filenames provided using the `files*` or `files_ignore*` inputs have been deleted. This defaults to `true`
 when no patterns are specified. (D) } any_modified:{Returns `true` when any of the filenames provided using the `files*` or `files_ignore*` inputs have been modified. This defaults to `true` when no pat
terns are specified. i.e. *includes a combination of all added, copied, modified, renamed, and deleted files (ACMRD)*. } changed_keys:{Returns all changed YAML keys when the `files_yaml` input is used. i
.e. key that contains any path that has either been added, copied, modified, and renamed (ACMR) } copied_files:{Returns only files that are Copied (C). } copied_files_count:{Returns the number of `copied
_files` } deleted_files:{Returns only files that are Deleted (D). } deleted_files_count:{Returns the number of `deleted_files` } modified_files:{Returns only files that are Modified (M). } modified_files
_count:{Returns the number of `modified_files` } modified_keys:{Returns all modified YAML keys when the `files_yaml` input is used. i.e. key that contains any path that has either been added, copied, mod
ified, and deleted (ACMRD) } only_changed:{Returns `true` when only files provided using the `files*` or `files_ignore*` inputs have changed. i.e. *includes a combination of all added, copied, modified a
nd renamed files (ACMR)*. } only_deleted:{Returns `true` when only files provided using the `files*` or `files_ignore*` inputs have been deleted. (D) } only_modified:{Returns `true` when only files provi
ded using the `files*` or `files_ignore*` inputs have been modified. (ACMRD). } other_changed_files:{Returns all other changed files not listed in the files input i.e. includes a combination of all added
, copied, modified and renamed files (ACMR). } other_changed_files_count:{Returns the number of `other_changed_files` } other_deleted_files:{Returns all other deleted files not listed in the files input
i.e. a combination of all deleted files (D) } other_deleted_files_count:{Returns the number of `other_deleted_files` } other_modified_files:{Returns all other modified files not listed in the files input
 i.e. a combination of all added, copied, modified, and deleted files (ACMRD) } other_modified_files_count:{Returns the number of `other_modified_files` } renamed_files:{Returns only files that are Renam
ed (R). } renamed_files_count:{Returns the number of `renamed_files` } type_changed_files:{Returns only files that have their file type changed (T). } type_changed_files_count:{Returns the number of `typ
e_changed_files` } unknown_files:{Returns only files that are Unknown (X). } unknown_files_count:{Returns the number of `unknown_files` } unmerged_files:{Returns only files that are Unmerged (U). } unmer
ged_files_count:{Returns the number of `unmerged_files` }] {node20 map[] dist/index.js  always()  always()     [] []} {white file-text}} from 'Unknown'
[test/Test added-files] [DEBUG] Loading revision from git directory
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
[test/Test added-files] [DEBUG] using github ref: refs/heads/master
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] Skipping local actions/checkout because workdir was already copied
[test/Test added-files] [DEBUG] Loading revision from git directory
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
[test/Test added-files] [DEBUG] using github ref: refs/heads/master
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] Loading revision from git directory
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
[test/Test added-files] [DEBUG] using github ref: refs/heads/master
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] Loading revision from git directory
(this loops a bunch)
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://10.145.25.52:37215/ CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v4 GITHUB_ACTION_RE
POSITORY:actions/checkout GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https
://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:changed_files GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:robbat2/tj-actions-changed-files-crypto-bu
g GITHUB_REPOSITORY_OWNER:robbat2 GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ATTEMPT:1 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
 GITHUB_WORKFLOW:test GITHUB_WORKSPACE:/tmp/test2 INPUT_FETCH-DEPTH:0 ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[test/Test added-files] [DEBUG] Loading revision from git directory
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
[test/Test added-files] [DEBUG] using github ref: refs/heads/master
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] Loading revision from git directory
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
[test/Test added-files] [DEBUG] using github ref: refs/heads/master
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] evaluating expression ''
[test/Test added-files] [DEBUG] expression '' evaluated to 'true'
[test/Test added-files]  Run Main actssions/checkout@v4
[test/Test added-files] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[test/Test added-files] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[test/Test added-files] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[test/Test added-files] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[test/Test added-files] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[test/Test added-files] [DEBUG] Extracting content to '/var/run/act'
[test/Test added-files] [DEBUG] Loading revision from git directory
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
[test/Test added-files] [DEBUG] using github ref: refs/heads/master
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] Loading revision from git directory
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
[test/Test added-files] [DEBUG] using github ref: refs/heads/master
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files]   🐳  docker cp src=/tmp/test2/. dst=/tmp/test2
[test/Test added-files] [DEBUG] Writing tarball /tmp/act112853656 from /tmp/test2/.
[test/Test added-files] [DEBUG] Stripping prefix:/tmp/test2/ src:/tmp/test2/.
[test/Test added-files] [DEBUG] Extracting content from '/tmp/act112853656' to '/tmp/test2'
[test/Test added-files]   🐳  docker exec cmd=[chown -R 1001:1001 /tmp/test2] user=0 workdir=
[test/Test added-files] [DEBUG] Exec command '[chown -R 1001:1001 /tmp/test2]'
[test/Test added-files] [DEBUG] Working directory '/tmp/test2'
[test/Test added-files]     Success -ng Main actions/checkout@v4
[test/Test added-files] [DEBUG] Loading revision from git directory
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
[test/Test added-files] [DEBUG] using github ref: refs/heads/master
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] Loading revision from git directory
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
[test/Test added-files] [DEBUG] using github ref: refs/heads/master
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] Loading revision from git directory
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
[test/Test added-files] [DEBUG] using github ref: refs/heads/master
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://10.145.25.52:37215/ CI:true GITHUB_ACTION:changed-files GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v45 GIT
HUB_ACTION_REPOSITORY:tj-actions/changed-files GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GIT
HUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:changed_files GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:robbat2/tj-actions-ch
anged-files-crypto-bug GITHUB_REPOSITORY_OWNER:robbat2 GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ATTEMPT:1 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:ba07e54f7e3be21cbe1
9f6caa80a5fc69edf9681 GITHUB_WORKFLOW:test GITHUB_WORKSPACE:/tmp/test2 INPUT_FILES:**.txt
 ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[test/Test added-files] [DEBUG] Loading revision from git directory
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
[test/Test added-files] [DEBUG] using github ref: refs/heads/master
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] Loading revision from git directory
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
[test/Test added-files] [DEBUG] using github ref: refs/heads/master
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] evaluating expression ''
[test/Test added-files] [DEBUG] expression '' evaluated to 'true'
[test/Test added-files]  Run Main Check changed filates
[test/Test added-files] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[test/Test added-files] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[test/Test added-files] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[test/Test added-files] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[test/Test added-files] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[test/Test added-files] [DEBUG] Extracting content to '/var/run/act'
[test/Test added-files] [DEBUG] Loading revision from git directory
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
[test/Test added-files] [DEBUG] using github ref: refs/heads/master
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] About to run action &{Changed Files tj-actions Get all Added, Copied, Modified, Deleted, Renamed, Type changed, Unmerged, and Unknown files. map[api_url:{Github API URL. f
alse ${{ github.api_url }}} base_sha:{Specify a different base commit SHA or branch used for comparing changes false } diff_relative:{Exclude changes outside the current directory and show path names rel
ative to it. NOTE: This requires you to specify the top-level directory via the `path` input. false true} dir_names:{Output unique changed directories instead of filenames. NOTE: This returns `.` for cha
nged files located in the current working directory which defaults to `$GITHUB_WORKSPACE`. false false} dir_names_deleted_files_include_only_deleted_dirs:{Include only directories that have been deleted
as opposed to directory names of files that have been deleted in the `deleted_files` output when `dir_names` is set to `true`. false false} dir_names_exclude_current_dir:{Exclude the current directory re
presented by `.` from the output when `dir_names` is set to `true`. false false} dir_names_include_files:{File and directory patterns to include in the output when `dir_names` is set to `true`. NOTE: Thi
s returns only the matching files and also the directory names. false } dir_names_include_files_separator:{Separator used to split the `dir_names_include_files` input false
} dir_names_max_depth:{Limit the directory output to a maximum depth e.g `test/test1/test2` with max depth of `2` returns `test/test1`. false } escape_json:{Escape JSON output. false true} exclude_submod
ules:{Exclude changes to submodules. false false} fail_on_initial_diff_error:{Fail when the initial diff fails. false false} fail_on_submodule_diff_error:{Fail when the submodule diff fails. false false}
 fetch_additional_submodule_history:{Fetch additional history for submodules. false false} fetch_depth:{Depth of additional branch history fetched. NOTE: This can be adjusted to resolve errors with insuf
ficient history. false 25} fetch_missing_history_max_retries:{Maximum number of retries to fetch missing history. false 20} files:{File and directory patterns used to detect changes (Defaults to the enti
re repo if unset).
NOTE: Multiline file/directory patterns should not include quotes.
 false } files_from_source_file:{Source file(s) used to populate the `files` input. false } files_from_source_file_separator:{Separator used to split the `files_from_source_file` input. false
} files_ignore:{Ignore changes to these file(s). NOTE: Multiline file/directory patterns should not include quotes. false } files_ignore_from_source_file:{Source file(s) used to populate the `files_ignor
e` input false } files_ignore_from_source_file_separator:{Separator used to split the `files_ignore_from_source_file` input false
} files_ignore_separator:{Separator used to split the `files_ignore` input false
} files_ignore_yaml:{YAML used to define a set of file patterns to ignore changes false } files_ignore_yaml_from_source_file:{Source file(s) used to populate the `files_ignore_yaml` input. Example: https
://github.com/tj-actions/changed-files/blob/main/test/changed-files.yml false } files_ignore_yaml_from_source_file_separator:{Separator used to split the `files_ignore_yaml_from_source_file` input false
} files_separator:{Separator used to split the `files` input false
} files_yaml:{YAML used to define a set of file patterns to detect changes false } files_yaml_from_source_file:{Source file(s) used to populate the `files_yaml` input. Example: https://github.com/tj-acti
ons/changed-files/blob/main/test/changed-files.yml false } files_yaml_from_source_file_separator:{Separator used to split the `files_yaml_from_source_file` input false
} include_all_old_new_renamed_files:{Include `all_old_new_renamed_files` output. Note this can generate a large output See: #501. false false} json:{Output list of changed files in a JSON formatted strin
g which can be used for matrix jobs. Example: https://github.com/tj-actions/changed-files/blob/main/.github/workflows/matrix-example.yml false false} matrix:{Output changed files in a format that can be
used for matrix jobs. Alias for setting inputs `json` to `true` and `escape_json` to `false`. false false} negation_patterns_first:{Apply the negation patterns first. NOTE: This affects how changed files
 are matched. false false} old_new_files_separator:{Split character for old and new renamed filename pairs. false  } old_new_separator:{Split character for old and new filename pairs. false ,} output_dir
:{Directory to store output files. false .github/outputs} output_renamed_files_as_deleted_and_added:{Output renamed files as deleted and added files. false false} path:{Specify a relative path under `$GI
THUB_WORKSPACE` to locate the repository. false .} quotepath:{Use non-ASCII characters to match files and output the filenames completely verbatim by setting this to `false` false true} recover_deleted_f
iles:{Recover deleted files. false false} recover_deleted_files_to_destination:{Recover deleted files to a new destination directory, defaults to the original location. false } recover_files:{File and di
rectory patterns used to recover deleted files,
defaults to the patterns provided via the `files`, `files_from_source_file`, `files_ignore` and `files_ignore_from_source_file` inputs
or all deleted files if no patterns are provided.
 false } recover_files_ignore:{File and directory patterns to ignore when recovering deleted files. false } recover_files_ignore_separator:{Separator used to split the `recover_files_ignore` input false
} recover_files_separator:{Separator used to split the `recover_files` input false
} safe_output:{Apply sanitization to output filenames before being set as output. false true} separator:{Split character for output strings. false  } sha:{Specify a different commit SHA or branch used fo
r comparing changes false } since:{Get changed files for commits whose timestamp is older than the given time. false } since_last_remote_commit:{Use the last commit on the remote branch as the `base_sha`
. Defaults to the last non-merge commit on the target branch for pull request events and the previous remote commit of the current branch for push events. false false} skip_initial_fetch:{Skip initially
fetching additional history to improve performance for shallow repositories.
NOTE: This could lead to errors with missing history. It's intended to be used when you've fetched all necessary history to perform the diff.
 false false} tags_ignore_pattern:{Tags pattern to ignore. false } tags_pattern:{Tags pattern to include. false *} token:{GitHub token used to fetch changed files from Github's API. false ${{ github.toke
n }}} until:{Get changed files for commits whose timestamp is earlier than the given time. false } use_posix_path_separator:{Use POSIX path separator `/` for output file paths on Windows. false false} us
e_rest_api:{Force the use of Github's REST API even when a local copy of the repository exists false false} write_output_files:{Write outputs to the `output_dir` defaults to `.github/outputs` folder. NOT
E: This creates a `.txt` file by default and a `.json` file if `json` is set to `true`. false false}] map[added_files:{Returns only files that are Added (A). } added_files_count:{Returns the number of `a
dded_files` } all_changed_and_modified_files:{Returns all changed and modified files i.e. a combination of (ACMRDTUX) } all_changed_and_modified_files_count:{Returns the number of `all_changed_and_modifi
ed_files` } all_changed_files:{Returns all changed files i.e. a combination of all added, copied, modified and renamed files (ACMR) } all_changed_files_count:{Returns the number of `all_changed_files` }
all_modified_files:{Returns all changed files i.e. a combination of all added, copied, modified, renamed and deleted files (ACMRD). } all_modified_files_count:{Returns the number of `all_modified_files`
} all_old_new_renamed_files:{Returns only files that are Renamed and lists their old and new names. **NOTE:** This requires setting `include_all_old_new_renamed_files` to `true`. Also, keep in mind that
this output is global and wouldn't be nested in outputs generated when the `*_yaml_*` input is used. (R) } all_old_new_renamed_files_count:{Returns the number of `all_old_new_renamed_files` } any_changed
:{Returns `true` when any of the filenames provided using the `files*` or `files_ignore*` inputs have changed. This defaults to `true` when no patterns are specified. i.e. *includes a combination of all
added, copied, modified and renamed files (ACMR)*. } any_deleted:{Returns `true` when any of the filenames provided using the `files*` or `files_ignore*` inputs have been deleted. This defaults to `true`
 when no patterns are specified. (D) } any_modified:{Returns `true` when any of the filenames provided using the `files*` or `files_ignore*` inputs have been modified. This defaults to `true` when no pat
terns are specified. i.e. *includes a combination of all added, copied, modified, renamed, and deleted files (ACMRD)*. } changed_keys:{Returns all changed YAML keys when the `files_yaml` input is used. i
.e. key that contains any path that has either been added, copied, modified, and renamed (ACMR) } copied_files:{Returns only files that are Copied (C). } copied_files_count:{Returns the number of `copied
_files` } deleted_files:{Returns only files that are Deleted (D). } deleted_files_count:{Returns the number of `deleted_files` } modified_files:{Returns only files that are Modified (M). } modified_files
_count:{Returns the number of `modified_files` } modified_keys:{Returns all modified YAML keys when the `files_yaml` input is used. i.e. key that contains any path that has either been added, copied, mod
ified, and deleted (ACMRD) } only_changed:{Returns `true` when only files provided using the `files*` or `files_ignore*` inputs have changed. i.e. *includes a combination of all added, copied, modified a
nd renamed files (ACMR)*. } only_deleted:{Returns `true` when only files provided using the `files*` or `files_ignore*` inputs have been deleted. (D) } only_modified:{Returns `true` when only files provi
ded using the `files*` or `files_ignore*` inputs have been modified. (ACMRD). } other_changed_files:{Returns all other changed files not listed in the files input i.e. includes a combination of all added
, copied, modified and renamed files (ACMR). } other_changed_files_count:{Returns the number of `other_changed_files` } other_deleted_files:{Returns all other deleted files not listed in the files input
i.e. a combination of all deleted files (D) } other_deleted_files_count:{Returns the number of `other_deleted_files` } other_modified_files:{Returns all other modified files not listed in the files input
 i.e. a combination of all added, copied, modified, and deleted files (ACMRD) } other_modified_files_count:{Returns the number of `other_modified_files` } renamed_files:{Returns only files that are Renam
ed (R). } renamed_files_count:{Returns the number of `renamed_files` } type_changed_files:{Returns only files that have their file type changed (T). } type_changed_files_count:{Returns the number of `typ
e_changed_files` } unknown_files:{Returns only files that are Unknown (X). } unknown_files_count:{Returns the number of `unknown_files` } unmerged_files:{Returns only files that are Unmerged (U). } unmer
ged_files_count:{Returns the number of `unmerged_files` }] {node20 map[] dist/index.js  always()  always()     [] []} {white file-text}}
[test/Test added-files] [DEBUG] Loading revision from git directory                                                                                                                               [58/1975]
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
[test/Test added-files] [DEBUG] using github ref: refs/heads/master
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] Loading revision from git directory
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
[test/Test added-files] [DEBUG] using github ref: refs/heads/master
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] expression '${{ github.api_url }}' rewritten to 'format('{0}', github.api_url)'
[test/Test added-files] [DEBUG] evaluating expression 'format('{0}', github.api_url)'
[test/Test added-files] [DEBUG] expression 'format('{0}', github.api_url)' evaluated to '%!t(string=https://api.github.com)'
[test/Test added-files] [DEBUG] expression '${{ github.token }}' rewritten to 'format('{0}', github.token)'
[test/Test added-files] [DEBUG] evaluating expression 'format('{0}', github.token)'
[test/Test added-files] [DEBUG] expression 'format('{0}', github.token)' evaluated to '%!t(string=)'
[test/Test added-files] [DEBUG] type=remote-action actionDir=/home/rjohnson/.cache/act/tj-actions-changed-files@v45 actionPath= workdir=/tmp/test2 actionCacheDir=/home/rjohnson/.cache/act actionName=tj-a
ctions-changed-files@v45 containerActionDir=/var/run/act/actions/tj-actions-changed-files@v45
[test/Test added-files] [DEBUG] /var/run/act/actions/tj-actions-changed-files@v45
[test/Test added-files] [DEBUG] Removing /home/rjohnson/.cache/act/tj-actions-changed-files@v45/.gitignore before docker cp
[test/Test added-files]   🐳  docker cp src=/home/rjohnson/.cache/act/tj-actions-changed-files@v45/ dst=/var/run/act/actions/tj-actions-changed-files@v45/
[test/Test added-files] [DEBUG] Writing tarball /tmp/act1786203168 from /home/rjohnson/.cache/act/tj-actions-changed-files@v45/
[test/Test added-files] [DEBUG] Stripping prefix:/home/rjohnson/.cache/act/tj-actions-changed-files@v45/ src:/home/rjohnson/.cache/act/tj-actions-changed-files@v45/
[test/Test added-files] [DEBUG] Extracting content from '/tmp/act1786203168' to '/var/run/act/actions/tj-actions-changed-files@v45/'
[test/Test added-files]   🐳  docker exec cmd=[chown -R 1001:1001 /var/run/act/actions/tj-actions-changed-files@v45/] user=0 workdir=
[test/Test added-files] [DEBUG] Exec command '[chown -R 1001:1001 /var/run/act/actions/tj-actions-changed-files@v45/]'
[test/Test added-files] [DEBUG] Working directory '/tmp/test2'
[test/Test added-files] [DEBUG] executing remote job container: [/opt/acttoolcache/node/18.20.4/x64/bin/node /var/run/act/actions/tj-actions-changed-files@v45/dist/index.js]
[test/Test added-files]   🐳  docker exec cmd=[/opt/acttoolcache/node/18.20.4/x64/bin/node /var/run/act/actions/tj-actions-changed-files@v45/dist/index.js] user= workdir=
[test/Test added-files] [DEBUG] Exec command '[/opt/acttoolcache/node/18.20.4/x64/bin/node /var/run/act/actions/tj-actions-changed-files@v45/dist/index.js]'
[test/Test added-files] [DEBUG] Working directory '/tmp/test2'
[test/Test added-files]     ::group::changed-files
[test/Test added-files]   💬::grdeb:gchEnv: {%0A  "GITHUB_REF_NAME": "master",%0A  "GITHUB_REF": "refs/heads/master",%0A  "GITHUB_WORKSPACE": "/tmp/test2"%0A}
[test/Test added-files]   💬::grdeb:gchInputs: {%0A  "files": "**.txt",%0A  "filesSeparator": "\n",%0A  "filesFromSourceFile": "",%0A  "filesFromSourceFileSeparator": "\n",%0A  "filesYaml": "",%0A  "file
sYamlFromSourceFile": "",%0A::"filesYamlFromSourceFileSeparator": "\n",%0A  "filesIgnore": "",%0A  "filesIgnoreSeparator": "\n",%0A  "filesIgnoreFromSourceFile": "",%0A  "filesIgnoreFromSourceFileSeparat
or": "\n",%0A  "filesIgnoreYaml": "",%0A  "filesIgnoreYamlFromSourceFile": "",%0A  "filesIgnoreYamlFromSourceFileSeparator": "\n",%0A  "failOnInitialDiffError": false,%0A  "failOnSubmoduleDiffError": fal
se,%0A  "separator": " ",%0A  "sha": "",%0A  "baseSha": "",%0A  "since": "",%0A  "until": "",%0A  "path": ".",%0A  "quotepath": true,%0A  "diffRelative": true,%0A  "sinceLastRemoteCommit": false,%0A  "re
coverDeletedFiles": false,%0A  "recoverDeletedFilesToDestination": "",%0A  "recoverFiles": "",%0A  "recoverFilesSeparator": "\n",%0A  "recoverFilesIgnore": "",%0A  "recoverFilesIgnoreSeparator": "\n",%0A
  "includeAllOldNewRenamedFiles": false,%0A  "oldNewSeparator": ",",%0A  "oldNewFilesSeparator": " ",%0A  "skipInitialFetch": false,%0A  "fetchAdditionalSubmoduleHistory": false,%0A  "dirNamesDeletedFile
sIncludeOnlyDeletedDirs": false,%0A  "excludeSubmodules": false,%0A  "usePosixPathSeparator": false,%0A  "tagsPattern": "*",%0A  "tagsIgnorePattern": "",%0A  "dirNames": false,%0A  "dirNamesExcludeCurren
tDir": false,%0A  "dirNamesIncludeFiles": "",%0A  "dirNamesIncludeFilesSeparator": "\n",%0A  "json": false,%0A  "escapeJson": true,%0A  "safeOutput": true,%0A  "writeOutputFiles": false,%0A  "outputDir":
 ".github/outputs",%0A  "outputRenamedFilesAsDeletedAndAdded": false,%0A  "token": "",%0A  "apiUrl": "https://api.github.com",%0A  "negationPatternsFirst": false,%0A  "useRestApi": false,%0A  "fetchDepth
": 25,%0A  "fetchMissingHistoryMaxRetries": 20%0A}
[test/Test added-files]   💬  ::debug::Working directory: /tmp/test2
[test/Test added-files]   💬  ::debug::Has git directory: true                                                                                                                                    [14/1975]
[test/Test added-files]   💬  ::debug::files patterns: **.txt
[test/Test added-files]   💬  ::debug::Input file patterns: %0A**.txt
[test/Test added-files]   💬  ::debug::File patterns: **.txt
[test/Test added-files]   💬  ::debug::Yaml file patterns: {}
| Using local .git directory
| Running on a push event...
[test/Test added-files]   💬  ::debug::Getting current SHA...
[test/Test added-files]   💬  ::debug::Current SHA: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files]   💬  ::debug::Getting previous SHA...
[test/Test added-files]   💬  ::debug::Getting previous SHA for last remote commit...
[test/Test added-files]   💬  ::debug::Previous SHA: 571e9285b8d8e3f53bc5ddac87bd196df590bddc
[test/Test added-files]   💬  ::debug::Target branch: master
[test/Test added-files]   💬  ::debug::Current branch: master
| Retrieving changes between 571e9285b8d8e3f53bc5ddac87bd196df590bddc (master) → ba07e54f7e3be21cbe19f6caa80a5fc69edf9681 (master)
[test/Test added-files]   💬  ::debug::All diff files: {"A":[".github/workflows/test.yml"],"C":[],"D":[],"M":[],"R":[],"T":[],"U":[],"X":[]}
| All Done!
[test/Test added-files]     ::endgroup::
[test/Test added-files]     ::engroup::changed-files-patterns
[test/Test added-files]   💬::endebug::All filtered diff files: {"A":[],"C":[],"D":[],"M":[],"R":[],"T":[],"U":[],"X":[]}
[test/Test added-files]   💬::endebug::Dir names include file patterns: []
[test/Test added-files]   💬::endebug::Added files: {"paths":"","count":"0"}
[test/Test added-files]   💬::enerror::crypto is not defined
[test/Test added-files]   💬::Failure - Main Check changed files
[test/Test added-files] exitcode '1': failure
[test/Test added-files] [DEBUG] skipping post step for 'actions/checkout@v4': no action model available
[test/Test added-files] Cleaning up container for job Test added-files
[test/Test added-files] [DEBUG] Removed container: c749ec70f30af5b756edb08f3b71b5321c4ccddf4aa2f54a80d466ab3b8248af
[test/Test added-files] [DEBUG]   🐳  docker volume rm act-test-Test-added-files-1a8063f93861cfaedf47b750f27818dadd060e9f9456b1d6a0750a6c79d51be5
[test/Test added-files] [DEBUG]   🐳  docker volume rm act-test-Test-added-files-1a8063f93861cfaedf47b750f27818dadd060e9f9456b1d6a0750a6c79d51be5-env
[test/Test added-files] 🏁  Job failed
[test/Test added-files] [DEBUG] Loading revision from git directory
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
[test/Test added-files] [DEBUG] HEAD points to 'ba07e54f7e3be21cbe19f6caa80a5fc69edf9681'
[test/Test added-files] [DEBUG] using github ref: refs/heads/master
[test/Test added-files] [DEBUG] Found revision: ba07e54f7e3be21cbe19f6caa80a5fc69edf9681
Error: Job 'Test added-files' failed

Has all relevant logs been included?

  • I've included all relevant logs

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@robbat2 robbat2 added the bug Something isn't working label Nov 7, 2024
@tj-actions-bot
Copy link
Contributor

Thanks for reporting this issue, don't forget to star this project if you haven't already to help us reach a wider audience.

@jackton1
Copy link
Member

jackton1 commented Nov 7, 2024

This action doesn’t use the crypto package as such I’d recommend reaching out to the developers of the https://github.com/nektos/act project.

@jackton1 jackton1 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2024
@lpagliari
Copy link

@jackton1 it looks like the bug was created when @actions/core v1.11.0 was released (source), and it's fixed on v1.11.1.

The main branch of tj-actions/changed-files was already fixed by #2309, so a new release of this package should solve this issue.

@jackton1
Copy link
Member

jackton1 commented Nov 8, 2024

Nice catch @lpagliari a new version with the fix should be deployed now v45.0.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants