actionlint
actionlint copied to clipboard
:octocat: Static checker for GitHub Actions workflow files
We hit a panic in CI. It seems spurious, as re-running the workflow did not encounter the error: ```sh # shellcheck disable=SC2016 actionlint \ -format '{{range $err := .}}::error file={{$err.Filepath}},line={{$err.Line}},col={{$err.Column}}::{{$err.Message}}%0A```%0A{{replace...
I've just got a reprimand from Github actions whilst actionlint was totally OK: ``` The identifier 'Set production tag (semantic)' is invalid. IDs may only contain alphanumeric characters, '_', and...
Hello, there is no documentation how to set **suppression** for built-in `shellcheck` functionality. I can use env variables, but then it will change usual `shellcheck` tests as well, and that...
## Summary actionlint warn when trying to use JSON data type conversion pattern and it's too strict, or other word too smart then what agent do. Warning message ```bash $...
It would be great if actionlint could call out github contexts that are used in an invalid location, as per the [contexts availability documentation](https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability) Example, running lint on the files...
Actionlint doesn't notice when a call to a composite action or reusable workflow is missing inputs
It would be great if it could call out when a composite action or a reusable workflow is being called without all the required inputs (Not sure if this is...
I see the same symptoms as described in #152 when referencing inputs from a `workflow_call` definition. E.g. from this simplified workflow: ``` on: workflow_call: inputs: artifact-name: description: "Prefix for name...
The following syntax: ```yaml name: Callable Workflow on: workflow_call: secrets: MY_TOKEN: jobs: main: runs-on: ubuntu-latest steps: - run: gh pr comment --body "Test comment" env: GH_TOKEN: ${{ secrets.MY_TOKEN }} ```...
Repro (with actionlint v1.6.12): 1. Check out https://github.com/pytorch/pytorch @ c48e964a04f478ad002ec6f3dd8543d0373104cb 2. Run `actionlint .github/workflows/_linux-build.yml`, observe a failure 3. Run ` actionlint .github/workflows/_ios-build-test.yml .github/workflows/_linux-build.yml`, observe no failure For step 3, I...
In one of our projects, we get this error: >.github/workflows/cascadingBuild.yml:11:20: property "missingdependencies" is not defined in object type {dependencies: string; missingDependencies: string} [expression] >11 | missing: ${{ steps.getMavenDependencies.outputs.missingDependencies }} It...