[GH-ISSUE #1063] Issue: Zombies keep accumulating #617

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

Originally created by @ahmubashshir on GitHub (Mar 21, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/1063

System information

  • Operating System: Linux
  • Architecture: x64
  • Apple M1: no
  • Docker version: 20.10.13
  • Docker image used in act: ghcr.io/catthehacker/ubuntu:act-latest ,ghcr.io/greyltc/archlinux:latest
  • act version: 0.2.25.r48.ge9e6dda

Expected behaviour

After a demonized process exit, it should be reaped by init.

Actual behaviour

Such process keep accumulating as zombie until workflow completion.

Workflow and/or repository

workflow
name: example workflow

on: [workflow_dispatch]

jobs:
  test:
    runs-on: ubuntu-latest
    container:
      image: ghcr.io/greyltc/archlinux:latest
    steps:
    - run: pacman-key --init
    - run: pacman-key --populate

Steps to reproduce

  1. Run the workflow
  2. List zombie processes with zps -l1

act output

Log
DEBU[0000] Loading secrets from /home/mubashshir/test/.secrets 
DEBU[0000] Loading workflows from '/home/mubashshir/test/.github/workflows' 
DEBU[0000] Loading workflows recursively                
DEBU[0000] Found workflow 'sample.yml' in '/home/mubashshir/test/.github/workflows/sample.yml' 
DEBU[0000] Reading workflow '/home/mubashshir/test/.github/workflows/sample.yml' 
DEBU[0000] Planning event: workflow_dispatch            
DEBU[0000] Artifacts base path '/tmp/actions-act2'      
WARN[0000] unable to get git repo: unable to find git repo 
WARN[0000] unable to get git ref: unable to find git repo 
WARN[0000] unable to get git revision: unable to find git repo 
DEBU[0000] evaluating expression 'success()'            
DEBU[0000] expression 'success()' evaluated to 'true'   
[example workflow/test] 🚀  Start image=ghcr.io/greyltc/archlinux:latest
WARN[0000] unable to get git repo: unable to find git repo 
WARN[0000] unable to get git ref: unable to find git repo 
WARN[0000] unable to get git revision: unable to find git repo 
[example workflow/test]   🐳  docker pull image=ghcr.io/greyltc/archlinux:latest platform= username= forcePull=false
[example workflow/test]   🐳  docker pull ghcr.io/greyltc/archlinux:latest
INFO[0000] Start server on http://192.168.127.1:34568   
DEBU[0000] Image exists? true                           
[example workflow/test]   🐳  docker create image=ghcr.io/greyltc/archlinux:latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[example workflow/test]   🐳  docker run image=ghcr.io/greyltc/archlinux:latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[example workflow/test] Starting container: cc7900e109df8e8cc918361f636f814014118984af42aa10c1c89391bb81d8c7
[example workflow/test] Started container: cc7900e109df8e8cc918361f636f814014118984af42aa10c1c89391bb81d8c7
[example workflow/test]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir=
[example workflow/test] Exec command '[mkdir -m 0777 -p /var/run/act]'
[example workflow/test] Working directory '/home/mubashshir/test'
DEBU[0000] Writing entry to tarball workflow/event.json len:2 
DEBU[0000] Writing entry to tarball workflow/envs.txt len:0 
DEBU[0000] Writing entry to tarball workflow/paths.txt len:0 
[example workflow/test] Extracting content to '/var/run/act/'
WARN[0000] unable to get git repo: unable to find git repo 
WARN[0000] unable to get git ref: unable to find git repo 
WARN[0000] unable to get git revision: unable to find git repo 
DEBU[0000] evaluating expression ''                     
DEBU[0000] expression '' evaluated to 'true'            
WARN[0000] unable to get git repo: unable to find git repo 
WARN[0000] unable to get git ref: unable to find git repo 
WARN[0000] unable to get git revision: unable to find git repo 
WARN[0000] unable to get git repo: unable to find git repo 
WARN[0000] unable to get git ref: unable to find git repo 
WARN[0000] unable to get git revision: unable to find git repo 
[example workflow/test] setupEnv => map[# Syntax: simple "KEY:VAL" pairs on separate lines ACT:true ACTIONS_RUNTIME_TOKEN:token ACTIONS_RUNTIME_URL:http://192.168.127.1:34568/ CI:true ENV:/etc/profile GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:workflow_dispatch GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:test GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:master GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:example workflow GITHUB_WORKSPACE:/home/mubashshir/test ImageOS:ubuntu20 LANG:en_US.UTF-8 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[example workflow/test] ⭐  Run pacman-key --init
DEBU[0000] Wrote command 

pacman-key --init

 to 'workflow/0.sh' 
DEBU[0000] Writing entry to tarball workflow/0.sh len:19 
[example workflow/test] Extracting content to '/var/run/act'
[example workflow/test]   🐳  docker exec cmd=[sh -e -c /var/run/act/workflow/0.sh] user= workdir=
[example workflow/test] Exec command '[sh -e -c /var/run/act/workflow/0.sh]'
[example workflow/test] Working directory '/home/mubashshir/test'
| gpg: WARNING: unsafe permissions on homedir '/root/.gnupg'
[example workflow/test]   ✅  Success - pacman-key --init
WARN[0000] unable to get git repo: unable to find git repo 
WARN[0000] unable to get git ref: unable to find git repo 
WARN[0000] unable to get git revision: unable to find git repo 
DEBU[0000] evaluating expression ''                     
DEBU[0000] expression '' evaluated to 'true'            
WARN[0000] unable to get git repo: unable to find git repo 
WARN[0000] unable to get git ref: unable to find git repo 
WARN[0000] unable to get git revision: unable to find git repo 
WARN[0000] unable to get git repo: unable to find git repo 
WARN[0000] unable to get git ref: unable to find git repo 
WARN[0000] unable to get git revision: unable to find git repo 
[example workflow/test] setupEnv => map[# Syntax: simple "KEY:VAL" pairs on separate lines ACT:true ACTIONS_RUNTIME_TOKEN:token ACTIONS_RUNTIME_URL:http://192.168.127.1:34568/ CI:true ENV:/etc/profile GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:workflow_dispatch GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:test GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:master GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:example workflow GITHUB_WORKSPACE:/home/mubashshir/test ImageOS:ubuntu20 LANG:en_US.UTF-8 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[example workflow/test] ⭐  Run pacman-key --populate
DEBU[0000] Wrote command 

pacman-key --populate

 to 'workflow/1.sh' 
DEBU[0000] Writing entry to tarball workflow/1.sh len:23 
[example workflow/test] Extracting content to '/var/run/act'
[example workflow/test]   🐳  docker exec cmd=[sh -e -c /var/run/act/workflow/1.sh] user= workdir=
[example workflow/test] Exec command '[sh -e -c /var/run/act/workflow/1.sh]'
[example workflow/test] Working directory '/home/mubashshir/test'
| ==> Appending keys from archlinux.gpg...
| ==> Updating trust database...
| gpg: next trustdb check due at 2022-05-06
[example workflow/test]   ✅  Success - pacman-key --populate
WARN[0004] unable to get git repo: unable to find git repo 
WARN[0004] unable to get git ref: unable to find git repo 
WARN[0004] unable to get git revision: unable to find git repo 
DEBU[0004] evaluating expression ''                     
DEBU[0004] expression '' evaluated to 'true'            
WARN[0004] unable to get git repo: unable to find git repo 
WARN[0004] unable to get git ref: unable to find git repo 
WARN[0004] unable to get git revision: unable to find git repo 
WARN[0004] unable to get git repo: unable to find git repo 
WARN[0004] unable to get git ref: unable to find git repo 
WARN[0004] unable to get git revision: unable to find git repo 
[example workflow/test] setupEnv => map[# Syntax: simple "KEY:VAL" pairs on separate lines ACT:true ACTIONS_RUNTIME_TOKEN:token ACTIONS_RUNTIME_URL:http://192.168.127.1:34568/ CI:true ENV:/etc/profile GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:workflow_dispatch GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:test GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:master GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:example workflow GITHUB_WORKSPACE:/home/mubashshir/test ImageOS:ubuntu20 LANG:en_US.UTF-8 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[example workflow/test] ⭐  Run sleep 35
DEBU[0004] Wrote command 

sleep 35

 to 'workflow/2.sh' 
DEBU[0004] Writing entry to tarball workflow/2.sh len:10 
[example workflow/test] Extracting content to '/var/run/act'
[example workflow/test]   🐳  docker exec cmd=[sh -e -c /var/run/act/workflow/2.sh] user= workdir=
[example workflow/test] Exec command '[sh -e -c /var/run/act/workflow/2.sh]'
[example workflow/test] Working directory '/home/mubashshir/test'
[example workflow/test]   ✅  Success - sleep 35
WARN[0039] unable to get git repo: unable to find git repo 
WARN[0039] unable to get git ref: unable to find git repo 
WARN[0039] unable to get git revision: unable to find git repo 
INFO[0039] Cleaning up container for job test    ne

~/.actrc

-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest
-P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04
-P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:act-18.04
--rm
--reuse
Originally created by @ahmubashshir on GitHub (Mar 21, 2022). Original GitHub issue: https://github.com/nektos/act/issues/1063 ## System information <!-- - Docker image used in `act`: < can be omitted if it's included in log > --> - Operating System: Linux - Architecture: x64 - Apple M1: no - Docker version: 20.10.13 - Docker image used in `act`: ghcr.io/catthehacker/ubuntu:act-latest ,ghcr.io/greyltc/archlinux:latest - `act` version: 0.2.25.r48.ge9e6dda ## Expected behaviour After a demonized process exit, it should be reaped by init. ## Actual behaviour Such process keep accumulating as zombie until workflow completion. ## Workflow and/or repository <details> <summary>workflow</summary> ```yaml name: example workflow on: [workflow_dispatch] jobs: test: runs-on: ubuntu-latest container: image: ghcr.io/greyltc/archlinux:latest steps: - run: pacman-key --init - run: pacman-key --populate ``` </details> ## Steps to reproduce 1. Run the workflow 2. List zombie processes with `zps -l`[^1] ## `act` output <!-- - Use `act` with `-v`/`--verbose` and paste output from your terminal in code block below --> <details> <summary>Log</summary> ```noDEBU[0000] Loading environment from /home/mubashshir/test/.env DEBU[0000] Loading secrets from /home/mubashshir/test/.secrets DEBU[0000] Loading workflows from '/home/mubashshir/test/.github/workflows' DEBU[0000] Loading workflows recursively DEBU[0000] Found workflow 'sample.yml' in '/home/mubashshir/test/.github/workflows/sample.yml' DEBU[0000] Reading workflow '/home/mubashshir/test/.github/workflows/sample.yml' DEBU[0000] Planning event: workflow_dispatch DEBU[0000] Artifacts base path '/tmp/actions-act2' WARN[0000] unable to get git repo: unable to find git repo WARN[0000] unable to get git ref: unable to find git repo WARN[0000] unable to get git revision: unable to find git repo DEBU[0000] evaluating expression 'success()' DEBU[0000] expression 'success()' evaluated to 'true' [example workflow/test] 🚀 Start image=ghcr.io/greyltc/archlinux:latest WARN[0000] unable to get git repo: unable to find git repo WARN[0000] unable to get git ref: unable to find git repo WARN[0000] unable to get git revision: unable to find git repo [example workflow/test] 🐳 docker pull image=ghcr.io/greyltc/archlinux:latest platform= username= forcePull=false [example workflow/test] 🐳 docker pull ghcr.io/greyltc/archlinux:latest INFO[0000] Start server on http://192.168.127.1:34568 DEBU[0000] Image exists? true [example workflow/test] 🐳 docker create image=ghcr.io/greyltc/archlinux:latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [example workflow/test] 🐳 docker run image=ghcr.io/greyltc/archlinux:latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [example workflow/test] Starting container: cc7900e109df8e8cc918361f636f814014118984af42aa10c1c89391bb81d8c7 [example workflow/test] Started container: cc7900e109df8e8cc918361f636f814014118984af42aa10c1c89391bb81d8c7 [example workflow/test] 🐳 docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir= [example workflow/test] Exec command '[mkdir -m 0777 -p /var/run/act]' [example workflow/test] Working directory '/home/mubashshir/test' DEBU[0000] Writing entry to tarball workflow/event.json len:2 DEBU[0000] Writing entry to tarball workflow/envs.txt len:0 DEBU[0000] Writing entry to tarball workflow/paths.txt len:0 [example workflow/test] Extracting content to '/var/run/act/' WARN[0000] unable to get git repo: unable to find git repo WARN[0000] unable to get git ref: unable to find git repo WARN[0000] unable to get git revision: unable to find git repo DEBU[0000] evaluating expression '' DEBU[0000] expression '' evaluated to 'true' WARN[0000] unable to get git repo: unable to find git repo WARN[0000] unable to get git ref: unable to find git repo WARN[0000] unable to get git revision: unable to find git repo WARN[0000] unable to get git repo: unable to find git repo WARN[0000] unable to get git ref: unable to find git repo WARN[0000] unable to get git revision: unable to find git repo [example workflow/test] setupEnv => map[# Syntax: simple "KEY:VAL" pairs on separate lines ACT:true ACTIONS_RUNTIME_TOKEN:token ACTIONS_RUNTIME_URL:http://192.168.127.1:34568/ CI:true ENV:/etc/profile GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:workflow_dispatch GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:test GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:master GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:example workflow GITHUB_WORKSPACE:/home/mubashshir/test ImageOS:ubuntu20 LANG:en_US.UTF-8 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [example workflow/test] ⭐ Run pacman-key --init DEBU[0000] Wrote command pacman-key --init to 'workflow/0.sh' DEBU[0000] Writing entry to tarball workflow/0.sh len:19 [example workflow/test] Extracting content to '/var/run/act' [example workflow/test] 🐳 docker exec cmd=[sh -e -c /var/run/act/workflow/0.sh] user= workdir= [example workflow/test] Exec command '[sh -e -c /var/run/act/workflow/0.sh]' [example workflow/test] Working directory '/home/mubashshir/test' | gpg: WARNING: unsafe permissions on homedir '/root/.gnupg' [example workflow/test] ✅ Success - pacman-key --init WARN[0000] unable to get git repo: unable to find git repo WARN[0000] unable to get git ref: unable to find git repo WARN[0000] unable to get git revision: unable to find git repo DEBU[0000] evaluating expression '' DEBU[0000] expression '' evaluated to 'true' WARN[0000] unable to get git repo: unable to find git repo WARN[0000] unable to get git ref: unable to find git repo WARN[0000] unable to get git revision: unable to find git repo WARN[0000] unable to get git repo: unable to find git repo WARN[0000] unable to get git ref: unable to find git repo WARN[0000] unable to get git revision: unable to find git repo [example workflow/test] setupEnv => map[# Syntax: simple "KEY:VAL" pairs on separate lines ACT:true ACTIONS_RUNTIME_TOKEN:token ACTIONS_RUNTIME_URL:http://192.168.127.1:34568/ CI:true ENV:/etc/profile GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:workflow_dispatch GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:test GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:master GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:example workflow GITHUB_WORKSPACE:/home/mubashshir/test ImageOS:ubuntu20 LANG:en_US.UTF-8 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [example workflow/test] ⭐ Run pacman-key --populate DEBU[0000] Wrote command pacman-key --populate to 'workflow/1.sh' DEBU[0000] Writing entry to tarball workflow/1.sh len:23 [example workflow/test] Extracting content to '/var/run/act' [example workflow/test] 🐳 docker exec cmd=[sh -e -c /var/run/act/workflow/1.sh] user= workdir= [example workflow/test] Exec command '[sh -e -c /var/run/act/workflow/1.sh]' [example workflow/test] Working directory '/home/mubashshir/test' | ==> Appending keys from archlinux.gpg... | ==> Updating trust database... | gpg: next trustdb check due at 2022-05-06 [example workflow/test] ✅ Success - pacman-key --populate WARN[0004] unable to get git repo: unable to find git repo WARN[0004] unable to get git ref: unable to find git repo WARN[0004] unable to get git revision: unable to find git repo DEBU[0004] evaluating expression '' DEBU[0004] expression '' evaluated to 'true' WARN[0004] unable to get git repo: unable to find git repo WARN[0004] unable to get git ref: unable to find git repo WARN[0004] unable to get git revision: unable to find git repo WARN[0004] unable to get git repo: unable to find git repo WARN[0004] unable to get git ref: unable to find git repo WARN[0004] unable to get git revision: unable to find git repo [example workflow/test] setupEnv => map[# Syntax: simple "KEY:VAL" pairs on separate lines ACT:true ACTIONS_RUNTIME_TOKEN:token ACTIONS_RUNTIME_URL:http://192.168.127.1:34568/ CI:true ENV:/etc/profile GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:workflow_dispatch GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:test GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:master GITHUB_REPOSITORY: GITHUB_REPOSITORY_OWNER: GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA: GITHUB_TOKEN: GITHUB_WORKFLOW:example workflow GITHUB_WORKSPACE:/home/mubashshir/test ImageOS:ubuntu20 LANG:en_US.UTF-8 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [example workflow/test] ⭐ Run sleep 35 DEBU[0004] Wrote command sleep 35 to 'workflow/2.sh' DEBU[0004] Writing entry to tarball workflow/2.sh len:10 [example workflow/test] Extracting content to '/var/run/act' [example workflow/test] 🐳 docker exec cmd=[sh -e -c /var/run/act/workflow/2.sh] user= workdir= [example workflow/test] Exec command '[sh -e -c /var/run/act/workflow/2.sh]' [example workflow/test] Working directory '/home/mubashshir/test' [example workflow/test] ✅ Success - sleep 35 WARN[0039] unable to get git repo: unable to find git repo WARN[0039] unable to get git ref: unable to find git repo WARN[0039] unable to get git revision: unable to find git repo INFO[0039] Cleaning up container for job test ne ``` </details> ## ~/.actrc ``` -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest -P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04 -P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:act-18.04 --rm --reuse ``` [^1]: https://github.com/orhun/zps
kerem 2026-03-01 21:44:59 +03:00
  • closed this issue
  • added the
    kind/bug
    label
Author
Owner

@catthehacker commented on GitHub (Mar 21, 2022):

That's expected behaviour

<!-- gh-comment-id:1074522579 --> @catthehacker commented on GitHub (Mar 21, 2022): That's expected behaviour
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#617
No description provided.