Skip to content

Add actionlint to CI and pre-commit hooks - #563

Open
chernojagne wants to merge 1 commit into
pySTEPS:masterfrom
autar-pr:add-actionlint
Open

Add actionlint to CI and pre-commit hooks#563
chernojagne wants to merge 1 commit into
pySTEPS:masterfrom
autar-pr:add-actionlint

Conversation

@chernojagne

Copy link
Copy Markdown

Adds actionlint to validate GitHub Actions workflow files.

pysteps has three workflows with run: shell blocks that use
${{ }} expression interpolation. actionlint catches issues in
Actions-specific syntax that regular YAML linters miss.

Changes:

  • .github/actionlint.yaml: config with ShellCheck enabled; suppresses
    rules that produce false positives for ${{ }}-interpolated values
    (SC2086, SC2129, SC2155, SC1091).
  • .github/workflows/actionlint.yml: CI job triggered on changes to
    .github/workflows/** and the actionlint config.
  • .pre-commit-config.yaml: actionlint hook for local validation
    before push.

This change was generated by Autar and reviewed by a
human before submission.

Set up actionlint to lint GitHub Actions workflow files:
- .github/actionlint.yaml: config suppressing common GHA ShellCheck
  false positives (SC2086, SC2129, SC2155, SC1091).
- .github/workflows/actionlint.yml: dedicated CI job triggered on
  changes to workflow files.
- .pre-commit-config.yaml: actionlint hook for local validation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant