[GH-ISSUE #1246] Act fails to list workflows due to conditional that has input #682

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

Originally created by @pantelis-karamolegkos on GitHub (Jul 7, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/1246

Bug report info

▶ act --bug-report
act version:            0.2.26
GOOS:                   darwin
GOARCH:                 amd64
NumCPU:                 8
Docker host:            DOCKER_HOST environment variable is unset/empty.
Sockets found:
	/var/run/docker.sock
Config files:
Docker Engine:
	Engine version:        20.10.10
	Engine runtime:        runc
	Cgroup version:        1
	Cgroup driver:         cgroupfs
	Storage driver:        overlay2
	Registry URI:          https://index.docker.io/v1/
	OS:                    Docker Desktop
	OS type:               linux
	OS version:
	OS arch:               x86_64
	OS kernel:             5.10.47-linuxkit
	OS CPU:                4
	OS memory:             8956 MB
	Security options:
		name=seccomp,profile=default

Command used with act

▶ act -l
Error: yaml: unmarshal errors:
  line 32: cannot unmarshal !!str `${{ inp...` into bool

Describe issue

Act is failing on something that the actual GH Action succeed, namely in this step

      - name: run lints
        uses: golangci/golangci-lint-action@v3
        continue-on-error:  ${{ inputs.continue_on_linting_errors }}
        with:
          working-directory: ${{ inputs.path_to_go_project }}

👇🏻

 continue-on-error:  ${{ inputs.continue_on_linting_errors }}

No response

Workflow content

(this is a re-usable private workflow)

Relevant log output

▶ act -l -v
DEBU[0000] Loading environment from /Users/pkaramol/Workspace/my-repo/.env
DEBU[0000] Loading secrets from /Users/pkaramol/Workspace/my-repo/.secrets
DEBU[0000] Loading workflows from '/Users/pkaramol/Workspace/my-repo/.github/workflows'
DEBU[0000] Loading workflows recursively
DEBU[0000] Found workflow 'my-app2.yaml' in '/Users/pkaramol/Workspace/my-repo/.github/workflows/my-app2.yaml'
DEBU[0000] Found workflow 'myapp6.yaml' in '/Users/pkaramol/Workspace/my-repo/.github/workflows/myapp6.yaml'
DEBU[0000] Found workflow 'myapp4.yaml' in '/Users/pkaramol/Workspace/my-repo/.github/workflows/myapp4\.yaml'
DEBU[0000] Found workflow 'myapp5.yaml' in '/Users/pkaramol/Workspace/my-repo/.github/workflows/myapp5.yaml'
DEBU[0000] Found workflow 'go_unit_tests.yaml' in '/Users/pkaramol/Workspace/my-repo/.github/workflows/go_unit_tests.yaml'
DEBU[0000] Found workflow 'my-app1.yaml' in '/Users/pkaramol/Workspace/my-repo/.github/workflows/my-app1.yaml'
DEBU[0000] Reading workflow '/Users/pkaramol/Workspace/my-repo/.github/workflows/my-app2.yaml'
DEBU[0000] Reading workflow '/Users/pkaramol/Workspace/my-repo/.github/workflows/myapp6.yaml'
DEBU[0000] Reading workflow '/Users/pkaramol/Workspace/my-repo/.github/workflows/myapp4.yaml'
DEBU[0000] Reading workflow '/Users/pkaramol/Workspace/my-repo/.github/workflows/myapp3.yaml'
DEBU[0000] Reading workflow '/Users/pkaramol/Workspace/my-repo/.github/workflows/go_unit_tests.yaml'
Error: yaml: unmarshal errors:
  line 32: cannot unmarshal !!str `${{ inp...` into bool

Additional information

No response

Originally created by @pantelis-karamolegkos on GitHub (Jul 7, 2022). Original GitHub issue: https://github.com/nektos/act/issues/1246 ### Bug report info ```plain text ▶ act --bug-report act version: 0.2.26 GOOS: darwin GOARCH: amd64 NumCPU: 8 Docker host: DOCKER_HOST environment variable is unset/empty. Sockets found: /var/run/docker.sock Config files: Docker Engine: Engine version: 20.10.10 Engine runtime: runc Cgroup version: 1 Cgroup driver: cgroupfs Storage driver: overlay2 Registry URI: https://index.docker.io/v1/ OS: Docker Desktop OS type: linux OS version: OS arch: x86_64 OS kernel: 5.10.47-linuxkit OS CPU: 4 OS memory: 8956 MB Security options: name=seccomp,profile=default ``` ### Command used with act ```sh ▶ act -l Error: yaml: unmarshal errors: line 32: cannot unmarshal !!str `${{ inp...` into bool ``` ### Describe issue Act is failing on something that the actual GH Action succeed, namely in this step ``` - name: run lints uses: golangci/golangci-lint-action@v3 continue-on-error: ${{ inputs.continue_on_linting_errors }} with: working-directory: ${{ inputs.path_to_go_project }} ``` 👇🏻 ``` continue-on-error: ${{ inputs.continue_on_linting_errors }} ``` ### Link to GitHub repository _No response_ ### Workflow content ```yml (this is a re-usable private workflow) ``` ### Relevant log output ```sh ▶ act -l -v DEBU[0000] Loading environment from /Users/pkaramol/Workspace/my-repo/.env DEBU[0000] Loading secrets from /Users/pkaramol/Workspace/my-repo/.secrets DEBU[0000] Loading workflows from '/Users/pkaramol/Workspace/my-repo/.github/workflows' DEBU[0000] Loading workflows recursively DEBU[0000] Found workflow 'my-app2.yaml' in '/Users/pkaramol/Workspace/my-repo/.github/workflows/my-app2.yaml' DEBU[0000] Found workflow 'myapp6.yaml' in '/Users/pkaramol/Workspace/my-repo/.github/workflows/myapp6.yaml' DEBU[0000] Found workflow 'myapp4.yaml' in '/Users/pkaramol/Workspace/my-repo/.github/workflows/myapp4\.yaml' DEBU[0000] Found workflow 'myapp5.yaml' in '/Users/pkaramol/Workspace/my-repo/.github/workflows/myapp5.yaml' DEBU[0000] Found workflow 'go_unit_tests.yaml' in '/Users/pkaramol/Workspace/my-repo/.github/workflows/go_unit_tests.yaml' DEBU[0000] Found workflow 'my-app1.yaml' in '/Users/pkaramol/Workspace/my-repo/.github/workflows/my-app1.yaml' DEBU[0000] Reading workflow '/Users/pkaramol/Workspace/my-repo/.github/workflows/my-app2.yaml' DEBU[0000] Reading workflow '/Users/pkaramol/Workspace/my-repo/.github/workflows/myapp6.yaml' DEBU[0000] Reading workflow '/Users/pkaramol/Workspace/my-repo/.github/workflows/myapp4.yaml' DEBU[0000] Reading workflow '/Users/pkaramol/Workspace/my-repo/.github/workflows/myapp3.yaml' DEBU[0000] Reading workflow '/Users/pkaramol/Workspace/my-repo/.github/workflows/go_unit_tests.yaml' Error: yaml: unmarshal errors: line 32: cannot unmarshal !!str `${{ inp...` into bool ``` ### Additional information _No response_
kerem 2026-03-01 21:45:29 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (Aug 7, 2022):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:1207302105 --> @github-actions[bot] commented on GitHub (Aug 7, 2022): Issue is stale and will be closed in 14 days unless there is new activity
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#682
No description provided.