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
Allow an empty object at permissions:. You can use it to disable permissions for all of the available scopes. (#170, #171, thanks @peaceiris)
permissions: {}
Support github.triggering_actor context value. (#190, thanks @stefreak)
Rename step-id rule to id rule. Now the rule checks both job IDs and step IDs. See the document for more details. (#182)
jobs:
# ERROR: '.' cannot be contained in IDv1.2.3:
runs-on: ubuntu-lateststeps:
- run: echo 'job ID with version'# ERROR: ID cannot contain spacesid: echo for test# ERROR: ID cannot start with numbers2d-game:
runs-on: ubuntu-lateststeps:
- run: echo 'oops'
Accessing env context in jobs.<id>.if is now reported as error. (#155)
jobs:
test:
runs-on: ubuntu-latest# ERROR: `env` is not available hereif: ${{ env.DIST == 'arch' }}steps:
- run: ...
Fix actionlint wrongly typed some matrix value when the matrix is expanded with ${{ }}. For example, matrix.foo in the following code is typed as {x: string}, but it should be any because it is initialized with the value from fromJSON. (#145)
strategy:
matrix:
foo: ${{ fromJSON(...) }}exclude:
- foo:
x: y
Fix incorrect type check when multiple runner labels are set to runs-on: via expanding ${{ }} for selecting self-hosted runners. (#164)
Fix usage of local actions (uses: ./path/to/action) was not checked when multiple workflow files were passed to actionlint command. (#173)
Allow description: is missing in secrets: of reusable workflow call definition since it is optional. (#174)
Fix type of property of github.event.inputs is string unlike inputs context. See the document for more details. (#181)
on:
workflow_dispatch:
inputs:
is-valid:
# Type of `inputs.is-valid` is bool# Type of `github.event.inputs.is-valid` is stringtype: boolean
Fix crash when a value is expanded with ${{ }} at continue-on-error:. (#193)
Fix some error was caused by some other error. For example, the following code reported two errors. '" is not available for string literal' error caused another 'one placeholder should be included in boolean value string' error. This was caused because the ${{ x == "foo" }} placeholder was not counted due to the previous type error.
Clarify the behavior if empty strings are set to some command line options in documents. -shellcheck= disables shellcheck integration and -pyflakes= disables pyflakes integration. (#156)