pre-commit/action

hook id: check-github-workflows is failing on "run-name:" validation

maurizio-cacace opened this issue · 1 comments

GitHub Actions: Dynamic names for workflow runs (Sep. 2022)

GitHub Actions customers can now dynamically name their workflow runs.
The new run-name feature will accept expressions and be displayed on the list of workflow runs.

It seems that pre-commit action is failing on validating it.

Validate GitHub Workflows................................................Failed

  • hook id: check-github-workflows
  • exit code: 1

ok -- validation done
Schema validation errors were encountered.
.github/workflows/**.ymll::$: Additional properties are not allowed ('run-name' was unexpected)
ok -- validation done

run-name: workflow name (${{ inputs.stage }})