You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Strictly check available contexts in ${{ }} placeholders following the 'Context availability' table in the official document.
For example, jobs.<job_id>.defaults.run.shell allows env context but shell workflow keys in other places allow no context.
defaults:
run:
# ERROR: No context is available hereshell: ${{ env.SHELL }}jobs:
test:
runs-on: ubuntu-latestdefaults:
run:
# OK: 'env' context is available hereshell: ${{ env.SHELL }}steps:
- run: echo hello# ERROR: No context is available hereshell: ${{ env.SHELL}}
Check a string literal passed to fromJSON() call. This pattern is popular to create array or object constants because GitHub Actions does not provide the literal syntax for them. See the document for more details. (#464)
jobs:
test:
# ERROR: Key 'mac' does not exist in the object returned by the fromJSON()runs-on: ${{ fromJSON('{"win":"windows-latest","linux":"ubuntul-latest"}')['mac'] }}steps:
- run: echo This is a special branch!# ERROR: Broken JSON string passed to fromJSON.if: contains(fromJSON('["main","release","dev"'), github.ref_name)
Allow passing command arguments to -shellcheck argument. (#483, thanks @anuraaga)
This is useful when you want to use alternative build of shellcheck like go-shellcheck.
actionlint -shellcheck="go run github.com/wasilibs/go-shellcheck/cmd/shellcheck@latest"
Support undocumented repository_visibility, artifact_cache_size_limit, step_summary, output, state properties in github context. (#489, thanks @rasa for adding repository_visibility property)
Remove macos-12 runner label from known labels because it was dropped from GitHub-hosted runners on Dec. 3 and is no longer available.