rhysd / actionlint

:octocat: Static checker for GitHub Actions workflow files
https://rhysd.github.io/actionlint/
MIT License
2.53k stars 151 forks source link

Support validation of the inputs passed in the with block #383

Open ebenezarisaac opened 6 months ago

ebenezarisaac commented 6 months ago

hi, Currently i am testing out actionslint

actionlint -version                                            
1.6.26
installed by building from source
built with go1.21.1 compiler for darwin/arm64
name: core-nonprod-tf-deploy-test

on:
  workflow_dispatch:

jobs:
  deploy:
    uses: orgname/test-repo1/.github/workflows/reusable_workflow.yml@main
    with:
      variable: "doesn't exist"

I am expecting that actionlint will find that the variable: "doesn't exist" is not the right input to be passed to the reusable workflow and throw error. Currently no errors are returned when i run actionlint. Can this be considered? thanks