- 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_actorcontext value. (#190, thanks @stefreak) - Rename
step-idrule toidrule. Now the rule checks both job IDs and step IDs. See the document for more details. (#182)jobs: # ERROR: '.' cannot be contained in ID v1.2.3: runs-on: ubuntu-latest steps: - run: echo 'job ID with version' # ERROR: ID cannot contain spaces id: echo for test # ERROR: ID cannot start with numbers 2d-game: runs-on: ubuntu-latest steps: - run: echo 'oops' - Accessing
envcontext injobs.<id>.ifis now reported as error. (#155)jobs: test: runs-on: ubuntu-latest # ERROR: `env` is not available here if: ${{ env.DIST == 'arch' }} steps: - run: ... - Fix actionlint wrongly typed some matrix value when the matrix is expanded with
${{ }}. For example,matrix.fooin the following code is typed as{x: string}, but it should beanybecause it is initialized with the value fromfromJSON. (#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)jobs: test: strategy: matrix: include: - labels: ["self-hosted", "macOS", "X64"] - labels: ["self-hosted", "linux"] # actionlint incorrectly reported type error here runs-on: ${{ matrix.labels }} - Fix usage of local actions (
uses: ./path/to/action) was not checked when multiple workflow files were passed toactionlintcommand. (#173) - Allow
description:is missing insecrets:of reusable workflow call definition since it is optional. (#174) - Fix type of property of
github.event.inputsis string unlikeinputscontext. 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 string type: boolean - Fix crash when a value is expanded with
${{ }}atcontinue-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.if: ${{ x == "foo" }} - Add support for
merge_groupworkflow trigger. - Add official actions to manage GitHub Pages to popular actions data set.
actions/configure-pages@v1actions/deploy-pages@v1actions/upload-pages-artifact@v1
- Update popular actions data set to the latest. Several new major versions and new inputs of actions were added to it.
- Describe how to install actionlint via Chocolatey, scoop, and AUR in the installation document. (#167, #168, thanks @sitiom)
- VS Code extension for actionlint was created by @arahatashun. See the document for more details.
- Describe how to use the Docker image at step of GitHub Actions workflow. See the document for the details. (#146)
- uses: docker://rhysd/actionlint:latest with: args: -color - 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) - Update Go module dependencies.