[GH-ISSUE #900] Issue: act fails to marshall continue-on-error tags #535

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

Originally created by @azarudeena on GitHub (Nov 24, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/900

System information

  • Operating System: macOS
  • Architecture: x64
  • Apple M1: No
  • Docker version: 20.10.10
  • Docker image used in act:
  • act version: 0.2.24

Expected behaviour

On using continue-on-error, Act should run though

Actual behaviour

I am using a snippet

      - name: Terraform - Plan
        if: ${{ steps.filter.outputs.changed == 'true' && github.event_name == 'pull_request' }}
        id: plan
        continue-on-error: ${{ github.event_name == 'pull_request' }}

Getting the output as line 68: cannot unmarshal !!str ${{ git... into bool

Steps to reproduce

use: continue-on-error with github event validation.

Originally created by @azarudeena on GitHub (Nov 24, 2021). Original GitHub issue: https://github.com/nektos/act/issues/900 <!-- - Make sure you are able to reproduce it on the [latest version](https://github.com/nektos/act/releases) - Search the existing issues. - Refer to [README](https://github.com/nektos/act/blob/master/README.md). --> ## System information <!-- - Operating System: < Windows | Linux | macOS | etc... > - Architecture: < x64 (64-bit) | x86 (32-bit) | arm64 (64-bit) | arm (32-bit) | etc... > - Apple M1: < yes | no > - Docker version: < output of `docker system info -f "{{.ServerVersion}}"` > - Docker image used in `act`: < can be omitted if it's included in log > - `act` version: < output of `act --version`, if you've built `act` yourself, please provide commit hash > --> - Operating System: macOS - Architecture: x64 - Apple M1: No - Docker version: 20.10.10 - Docker image used in `act`: - `act` version: 0.2.24 ## Expected behaviour On using `continue-on-error`, Act should run though ## Actual behaviour I am using a snippet ``` - name: Terraform - Plan if: ${{ steps.filter.outputs.changed == 'true' && github.event_name == 'pull_request' }} id: plan continue-on-error: ${{ github.event_name == 'pull_request' }} ``` Getting the output as `line 68: cannot unmarshal !!str `${{ git...` into bool` ## Steps to reproduce use: continue-on-error with github event validation.
Author
Owner

@github-actions[bot] commented on GitHub (Dec 25, 2021):

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

<!-- gh-comment-id:1000949379 --> @github-actions[bot] commented on GitHub (Dec 25, 2021): 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#535
No description provided.