[GH-ISSUE #598] Issue: if should not require ${{}} for function calls / ! #395

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

Originally created by @jsoref on GitHub (Apr 2, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/598

Act version

act version 9a7bc6

Expected behaviour

      if: "contains(github.event_name, 'pull_request')"

should evaluate to false cleanly per https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsif

When you use expressions in an if conditional, you may omit the expression syntax (${{ }}) because GitHub automatically evaluates the if conditional as an expression, unless the expression contains any operators. If the expression contains any operators, the expression must be contained within ${{ }} to explicitly mark it for evaluation. For more information, see "Context and expression syntax for GitHub Actions."

and

      if: "!contains(github.event_name, 'pull_request')"

should evaluate to true

Actual behaviour

it isn't evaluated as a function call w/o wrapping w/ ${{ ... }}

[Spell checking/Spell checking]   ❌  Error in if: expression - checkout
DEBU[0001] expressions starting with ! must be wrapped in ${{ }} 
DEBU[0001] expressions starting with ! must be wrapped in ${{ }} 
Error: expressions starting with ! must be wrapped in ${{ }}

Workflow and/or repository

workflow

github.com/jsoref/spell-check-this@4101393f8d/.github/workflows/spelling.yml

(See also #597)

name: Spell checking
on:
  pull_request_target:
  push:
  issue_comment:
  pull_request_review_comment:

jobs:
  build:
    name: Spell checking
    runs-on: ubuntu-latest
    steps:
    - name: checkout-merge
      if: "contains(github.event_name, 'pull_request')"
      uses: actions/checkout@v2.0.0
      with:
        ref: refs/pull/${{github.event.pull_request.number}}/merge
        fetch-depth: 5
    - name: checkout
      if: "!contains(github.event_name, 'pull_request')"
      uses: actions/checkout@v2.0.0
      with:
        fetch-depth: 5
    - uses: check-spelling/check-spelling@0.0.17-alpha
      with:
        experimental_apply_changes_via_bot: 1

Steps to reproduce

act output

Log
DEBU[0000] Loading environment from /Users/jsoref/code/spelling-org/spell-check-this/.env 
DEBU[0000] Loading secrets from /Users/jsoref/code/spelling-org/spell-check-this/.secrets 
DEBU[0000] Loading workflows from '/Users/jsoref/code/spelling-org/spell-check-this/.github/workflows' 
DEBU[0000] Reading workflow '/Users/jsoref/code/spelling-org/spell-check-this/.github/workflows/spelling.yml' 
DEBU[0000] Planning event: push                         
DEBU[0000] Loading slug from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' 
DEBU[0000] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 
DEBU[0000] Loading revision from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' 
DEBU[0000] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 
DEBU[0000] HEAD points to '4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03' 
DEBU[0000] HEAD matches refs/heads/prerelease           
DEBU[0000] using github ref: refs/heads/prerelease      
DEBU[0000] context env => map[ACT:true]                 
[Spell checking/Spell checking] 🚀  Start image=node:12.20.1-buster-slim
DEBU[0000] Loading slug from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' 
DEBU[0000] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 
DEBU[0000] Loading revision from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' 
DEBU[0000] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 
DEBU[0000] HEAD points to '4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03' 
DEBU[0000] HEAD matches refs/heads/prerelease           
DEBU[0000] using github ref: refs/heads/prerelease      
[Spell checking/Spell checking]   🐳  docker pull node:12.20.1-buster-slim
DEBU[0000] Image exists? true                           
[Spell checking/Spell checking] Removed container: 2535417245c6213ce3da11bfcfa92bcdfd16a7d3d3af0ec33646c02db074294a
[Spell checking/Spell checking]   🐳  docker volume rm act-Spell-checking-Spell-checking
[Spell checking/Spell checking]   🐳  docker create image=node:12.20.1-buster-slim platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Spell checking/Spell checking] Created container name=act-Spell-checking-Spell-checking id=90b9071734c0adebfe3a95d79931a2791b1565adffbd6fac09673f2fe46c8bd8 from image node:12.20.1-buster-slim (platform: linux/amd64)
[Spell checking/Spell checking] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[Spell checking/Spell checking]   🐳  docker run image=node:12.20.1-buster-slim platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Spell checking/Spell checking] Starting container: 90b9071734c0adebfe3a95d79931a2791b1565adffbd6fac09673f2fe46c8bd8
[Spell checking/Spell checking] Started container: 90b9071734c0adebfe3a95d79931a2791b1565adffbd6fac09673f2fe46c8bd8
[Spell checking/Spell checking]   🐳  docker cp src=/Users/jsoref/code/spelling-org/spell-check-this/. dst=/Users/jsoref/code/spelling-org/spell-check-this
[Spell checking/Spell checking] Exec command '[mkdir -p /Users/jsoref/code/spelling-org/spell-check-this]'
DEBU[0000] Writing tarball /var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/act049037753 from /Users/jsoref/code/spelling-org/spell-check-this/. 
DEBU[0000] Stripping prefix:/Users/jsoref/code/spelling-org/spell-check-this/ src:/Users/jsoref/code/spelling-org/spell-check-this/. 
[Spell checking/Spell checking] Extracting content from '/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/act049037753' to '/Users/jsoref/code/spelling-org/spell-check-this'
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 home/.act len:0     
[Spell checking/Spell checking] Extracting content to '/Users/jsoref/code/spelling-org'
DEBU[0001] Loading slug from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' 
DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 
DEBU[0001] Loading revision from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' 
DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 
DEBU[0001] HEAD points to '4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03' 
DEBU[0001] HEAD matches refs/heads/prerelease           
DEBU[0001] using github ref: refs/heads/prerelease      
DEBU[0001] Loading slug from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' 
DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 
DEBU[0001] Loading revision from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' 
DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 
DEBU[0001] HEAD points to '4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03' 
DEBU[0001] HEAD matches refs/heads/prerelease           
DEBU[0001] using github ref: refs/heads/prerelease      
DEBU[0001] context env => map[ACT:true]                 
DEBU[0001] Loading slug from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' 
DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 
DEBU[0001] Loading revision from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' 
DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 
DEBU[0001] HEAD points to '4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03' 
DEBU[0001] HEAD matches refs/heads/prerelease           
DEBU[0001] using github ref: refs/heads/prerelease      
DEBU[0001] context env => map[ACT:true]                 
DEBU[0001] Evaluating 'github['event']['pull_request']['number']' instead of 'github.event.pull_request.number' 
ERRO[0001] Unable to interpolate string 'refs/pull/${{github.event.pull_request.number}}/merge' - [TypeError: Cannot access member 'number' of undefined] 
DEBU[0001] Loading slug from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' 
DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 
DEBU[0001] Loading revision from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' 
DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 
DEBU[0001] HEAD points to '4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03' 
DEBU[0001] HEAD matches refs/heads/prerelease           
DEBU[0001] using github ref: refs/heads/prerelease      
DEBU[0001] context env => map[ACT:true]                 
DEBU[0001] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/spelling-org/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/spelling-org/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/prerelease GITHUB_REPOSITORY:git@github.com:check-spelling/spell-check-this GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 GITHUB_TOKEN: GITHUB_WORKFLOW:Spell checking GITHUB_WORKSPACE:/Users/jsoref/code/spelling-org/spell-check-this INPUT_FETCH-DEPTH:5 INPUT_REF:refs/pull/${{github.event.pull_request.number}}/merge ImageOS:ubuntu20] 
DEBU[0001] Evaluating 'github['event']['pull_request']['number']' instead of 'github.event.pull_request.number' 
ERRO[0001] Unable to interpolate string 'refs/pull/${{github.event.pull_request.number}}/merge' - [TypeError: Cannot access member 'number' of undefined] 
[Spell checking/Spell checking] setupEnv => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/spelling-org/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/spelling-org/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/prerelease GITHUB_REPOSITORY:git@github.com:check-spelling/spell-check-this GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 GITHUB_TOKEN: GITHUB_WORKFLOW:Spell checking GITHUB_WORKSPACE:/Users/jsoref/code/spelling-org/spell-check-this INPUT_FETCH-DEPTH:5 INPUT_REF:refs/pull//merge ImageOS:ubuntu20]
DEBU[0001] Evaluating 'Boolean(contains(github['event_name'], 'pull_request'))' instead of 'Boolean(contains(github.event_name, 'pull_request'))' 
DEBU[0001] expression 'contains(github.event_name, 'pull_request')' evaluated to 'false' 
DEBU[0001] Skipping step 'checkout-merge' due to 'contains(github.event_name, 'pull_request')' 
DEBU[0001] Loading slug from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' 
DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 
DEBU[0001] Loading revision from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' 
DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 
DEBU[0001] HEAD points to '4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03' 
DEBU[0001] HEAD matches refs/heads/prerelease           
DEBU[0001] using github ref: refs/heads/prerelease      
DEBU[0001] Loading slug from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' 
DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 
DEBU[0001] Loading revision from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' 
DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 
DEBU[0001] HEAD points to '4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03' 
DEBU[0001] HEAD matches refs/heads/prerelease           
DEBU[0001] using github ref: refs/heads/prerelease      
DEBU[0001] context env => map[ACT:true]                 
DEBU[0001] Loading slug from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' 
DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 
DEBU[0001] Loading revision from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' 
DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 
DEBU[0001] HEAD points to '4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03' 
DEBU[0001] HEAD matches refs/heads/prerelease           
DEBU[0001] using github ref: refs/heads/prerelease      
DEBU[0001] context env => map[ACT:true]                 
DEBU[0001] context env => map[ACT:true CI:true GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/spelling-org/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/spelling-org/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/prerelease GITHUB_REPOSITORY:git@github.com:check-spelling/spell-check-this GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 GITHUB_TOKEN: GITHUB_WORKFLOW:Spell checking GITHUB_WORKSPACE:/Users/jsoref/code/spelling-org/spell-check-this INPUT_FETCH-DEPTH:5 ImageOS:ubuntu20] 
[Spell checking/Spell checking] setupEnv => map[ACT:true CI:true GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/spelling-org/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/spelling-org/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/prerelease GITHUB_REPOSITORY:git@github.com:check-spelling/spell-check-this GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 GITHUB_TOKEN: GITHUB_WORKFLOW:Spell checking GITHUB_WORKSPACE:/Users/jsoref/code/spelling-org/spell-check-this INPUT_FETCH-DEPTH:5 ImageOS:ubuntu20]
[Spell checking/Spell checking]   ❌  Error in if: expression - checkout
DEBU[0001] expressions starting with ! must be wrapped in ${{ }} 
DEBU[0001] expressions starting with ! must be wrapped in ${{ }} 
Error: expressions starting with ! must be wrapped in ${{ }}
Originally created by @jsoref on GitHub (Apr 2, 2021). Original GitHub issue: https://github.com/nektos/act/issues/598 <!-- - 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). --> ## Act version <!-- Paste output of `act --version` --> ```none act version 9a7bc6 ``` ## Expected behaviour <!-- Describe how whole process should go and finish --> ``` if: "contains(github.event_name, 'pull_request')" ``` should evaluate to false cleanly per https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsif > When you use expressions in an `if` conditional, you may omit the expression syntax (`${{ }}`) because GitHub automatically evaluates the if conditional as an expression, unless the expression contains any operators. If the expression contains any operators, the expression must be contained within `${{ }}` to explicitly mark it for evaluation. For more information, see "[Context and expression syntax for GitHub Actions](https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions)." and ``` if: "!contains(github.event_name, 'pull_request')" ``` should evaluate to true ## Actual behaviour <!-- Describe what happened --> it isn't evaluated as a function call w/o wrapping w/ `${{ ... }}` ``` [Spell checking/Spell checking] ❌ Error in if: expression - checkout DEBU[0001] expressions starting with ! must be wrapped in ${{ }} DEBU[0001] expressions starting with ! must be wrapped in ${{ }} Error: expressions starting with ! must be wrapped in ${{ }} ``` ## Workflow and/or repository <details> <summary>workflow</summary> https://github.com/jsoref/spell-check-this/blob/4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03/.github/workflows/spelling.yml (See also #597) ```none name: Spell checking on: pull_request_target: push: issue_comment: pull_request_review_comment: jobs: build: name: Spell checking runs-on: ubuntu-latest steps: - name: checkout-merge if: "contains(github.event_name, 'pull_request')" uses: actions/checkout@v2.0.0 with: ref: refs/pull/${{github.event.pull_request.number}}/merge fetch-depth: 5 - name: checkout if: "!contains(github.event_name, 'pull_request')" uses: actions/checkout@v2.0.0 with: fetch-depth: 5 - uses: check-spelling/check-spelling@0.0.17-alpha with: experimental_apply_changes_via_bot: 1 ``` </details> ## Steps to reproduce <!-- Make sure to include command you used to run `act` e.g.: 1. Clone example repo (https://github.com/cplee/github-actions-demo) 2. Enter cloned repo directory 3. Run `act -s SUPER_SECRET=im-a-value` --> ## `act` output <!-- Paste output from your terminal, use `-v` or `--verbose` for richer output --> <details> <summary>Log</summary> ```none DEBU[0000] Loading environment from /Users/jsoref/code/spelling-org/spell-check-this/.env DEBU[0000] Loading secrets from /Users/jsoref/code/spelling-org/spell-check-this/.secrets DEBU[0000] Loading workflows from '/Users/jsoref/code/spelling-org/spell-check-this/.github/workflows' DEBU[0000] Reading workflow '/Users/jsoref/code/spelling-org/spell-check-this/.github/workflows/spelling.yml' DEBU[0000] Planning event: push DEBU[0000] Loading slug from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' DEBU[0000] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 DEBU[0000] Loading revision from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' DEBU[0000] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 DEBU[0000] HEAD points to '4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03' DEBU[0000] HEAD matches refs/heads/prerelease DEBU[0000] using github ref: refs/heads/prerelease DEBU[0000] context env => map[ACT:true] [Spell checking/Spell checking] 🚀 Start image=node:12.20.1-buster-slim DEBU[0000] Loading slug from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' DEBU[0000] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 DEBU[0000] Loading revision from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' DEBU[0000] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 DEBU[0000] HEAD points to '4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03' DEBU[0000] HEAD matches refs/heads/prerelease DEBU[0000] using github ref: refs/heads/prerelease [Spell checking/Spell checking] 🐳 docker pull node:12.20.1-buster-slim DEBU[0000] Image exists? true [Spell checking/Spell checking] Removed container: 2535417245c6213ce3da11bfcfa92bcdfd16a7d3d3af0ec33646c02db074294a [Spell checking/Spell checking] 🐳 docker volume rm act-Spell-checking-Spell-checking [Spell checking/Spell checking] 🐳 docker create image=node:12.20.1-buster-slim platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [Spell checking/Spell checking] Created container name=act-Spell-checking-Spell-checking id=90b9071734c0adebfe3a95d79931a2791b1565adffbd6fac09673f2fe46c8bd8 from image node:12.20.1-buster-slim (platform: linux/amd64) [Spell checking/Spell checking] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [Spell checking/Spell checking] 🐳 docker run image=node:12.20.1-buster-slim platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [Spell checking/Spell checking] Starting container: 90b9071734c0adebfe3a95d79931a2791b1565adffbd6fac09673f2fe46c8bd8 [Spell checking/Spell checking] Started container: 90b9071734c0adebfe3a95d79931a2791b1565adffbd6fac09673f2fe46c8bd8 [Spell checking/Spell checking] 🐳 docker cp src=/Users/jsoref/code/spelling-org/spell-check-this/. dst=/Users/jsoref/code/spelling-org/spell-check-this [Spell checking/Spell checking] Exec command '[mkdir -p /Users/jsoref/code/spelling-org/spell-check-this]' DEBU[0000] Writing tarball /var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/act049037753 from /Users/jsoref/code/spelling-org/spell-check-this/. DEBU[0000] Stripping prefix:/Users/jsoref/code/spelling-org/spell-check-this/ src:/Users/jsoref/code/spelling-org/spell-check-this/. [Spell checking/Spell checking] Extracting content from '/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/act049037753' to '/Users/jsoref/code/spelling-org/spell-check-this' 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 home/.act len:0 [Spell checking/Spell checking] Extracting content to '/Users/jsoref/code/spelling-org' DEBU[0001] Loading slug from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 DEBU[0001] Loading revision from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 DEBU[0001] HEAD points to '4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03' DEBU[0001] HEAD matches refs/heads/prerelease DEBU[0001] using github ref: refs/heads/prerelease DEBU[0001] Loading slug from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 DEBU[0001] Loading revision from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 DEBU[0001] HEAD points to '4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03' DEBU[0001] HEAD matches refs/heads/prerelease DEBU[0001] using github ref: refs/heads/prerelease DEBU[0001] context env => map[ACT:true] DEBU[0001] Loading slug from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 DEBU[0001] Loading revision from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 DEBU[0001] HEAD points to '4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03' DEBU[0001] HEAD matches refs/heads/prerelease DEBU[0001] using github ref: refs/heads/prerelease DEBU[0001] context env => map[ACT:true] DEBU[0001] Evaluating 'github['event']['pull_request']['number']' instead of 'github.event.pull_request.number' ERRO[0001] Unable to interpolate string 'refs/pull/${{github.event.pull_request.number}}/merge' - [TypeError: Cannot access member 'number' of undefined] DEBU[0001] Loading slug from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 DEBU[0001] Loading revision from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 DEBU[0001] HEAD points to '4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03' DEBU[0001] HEAD matches refs/heads/prerelease DEBU[0001] using github ref: refs/heads/prerelease DEBU[0001] context env => map[ACT:true] DEBU[0001] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/spelling-org/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/spelling-org/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/prerelease GITHUB_REPOSITORY:git@github.com:check-spelling/spell-check-this GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 GITHUB_TOKEN: GITHUB_WORKFLOW:Spell checking GITHUB_WORKSPACE:/Users/jsoref/code/spelling-org/spell-check-this INPUT_FETCH-DEPTH:5 INPUT_REF:refs/pull/${{github.event.pull_request.number}}/merge ImageOS:ubuntu20] DEBU[0001] Evaluating 'github['event']['pull_request']['number']' instead of 'github.event.pull_request.number' ERRO[0001] Unable to interpolate string 'refs/pull/${{github.event.pull_request.number}}/merge' - [TypeError: Cannot access member 'number' of undefined] [Spell checking/Spell checking] setupEnv => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/spelling-org/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/spelling-org/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/prerelease GITHUB_REPOSITORY:git@github.com:check-spelling/spell-check-this GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 GITHUB_TOKEN: GITHUB_WORKFLOW:Spell checking GITHUB_WORKSPACE:/Users/jsoref/code/spelling-org/spell-check-this INPUT_FETCH-DEPTH:5 INPUT_REF:refs/pull//merge ImageOS:ubuntu20] DEBU[0001] Evaluating 'Boolean(contains(github['event_name'], 'pull_request'))' instead of 'Boolean(contains(github.event_name, 'pull_request'))' DEBU[0001] expression 'contains(github.event_name, 'pull_request')' evaluated to 'false' DEBU[0001] Skipping step 'checkout-merge' due to 'contains(github.event_name, 'pull_request')' DEBU[0001] Loading slug from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 DEBU[0001] Loading revision from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 DEBU[0001] HEAD points to '4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03' DEBU[0001] HEAD matches refs/heads/prerelease DEBU[0001] using github ref: refs/heads/prerelease DEBU[0001] Loading slug from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 DEBU[0001] Loading revision from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 DEBU[0001] HEAD points to '4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03' DEBU[0001] HEAD matches refs/heads/prerelease DEBU[0001] using github ref: refs/heads/prerelease DEBU[0001] context env => map[ACT:true] DEBU[0001] Loading slug from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 DEBU[0001] Loading revision from git directory '/Users/jsoref/code/spelling-org/spell-check-this/.git' DEBU[0001] Found revision: 4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 DEBU[0001] HEAD points to '4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03' DEBU[0001] HEAD matches refs/heads/prerelease DEBU[0001] using github ref: refs/heads/prerelease DEBU[0001] context env => map[ACT:true] DEBU[0001] context env => map[ACT:true CI:true GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/spelling-org/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/spelling-org/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/prerelease GITHUB_REPOSITORY:git@github.com:check-spelling/spell-check-this GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 GITHUB_TOKEN: GITHUB_WORKFLOW:Spell checking GITHUB_WORKSPACE:/Users/jsoref/code/spelling-org/spell-check-this INPUT_FETCH-DEPTH:5 ImageOS:ubuntu20] [Spell checking/Spell checking] setupEnv => map[ACT:true CI:true GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/spelling-org/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/spelling-org/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/prerelease GITHUB_REPOSITORY:git@github.com:check-spelling/spell-check-this GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:4101393f8d4d21cbaadaf88c3ac1b7ad3754bc03 GITHUB_TOKEN: GITHUB_WORKFLOW:Spell checking GITHUB_WORKSPACE:/Users/jsoref/code/spelling-org/spell-check-this INPUT_FETCH-DEPTH:5 ImageOS:ubuntu20] [Spell checking/Spell checking] ❌ Error in if: expression - checkout DEBU[0001] expressions starting with ! must be wrapped in ${{ }} DEBU[0001] expressions starting with ! must be wrapped in ${{ }} Error: expressions starting with ! must be wrapped in ${{ }} ``` </details>
kerem 2026-03-01 21:43:01 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (May 3, 2021):

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

<!-- gh-comment-id:830933346 --> @github-actions[bot] commented on GitHub (May 3, 2021): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@jsoref commented on GitHub (May 3, 2021):

Still live

<!-- gh-comment-id:830969922 --> @jsoref commented on GitHub (May 3, 2021): Still live
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#395
No description provided.