feat: add actionlint workflow#140
Merged
greenc-FNAL merged 1 commit intoFramework-R-D:mainfrom Dec 2, 2025
Merged
Conversation
Adds a new GitHub Actions workflow to run `actionlint` on all workflow and action files. This change introduces: - A new workflow `actionlint-check.yaml` that runs on pull requests and `workflow_dispatch`. - An `actionlint.yaml` configuration file in the `.github` directory. The new workflow follows the existing pattern of using a `pre-check` and `detect-changes` job to avoid running the linter when no relevant files have been modified.
Member
|
What is the |
Contributor
Author
Checks workflows and actions for various issues (the ones it reported in local runs are fixed in #139). |
Contributor
Author
|
Local run was triggered with: $ docker run --rm -v $(pwd):/repo --workdir /repo rhysd/actionlint:latest -colorfrom the repository top directory. |
knoepfel
approved these changes
Dec 2, 2025
Contributor
Author
[greenc@scisoftbuild02] phlex (main) $ docker run --rm -v $(pwd):/repo --workdir /repo rhysd/actionlint:latest | grep -Ece '^\.github/'
13
[greenc@scisoftbuild02] phlex (main) $ git switch -
Switched to branch 'maintenance/actionlint-fixes'
Your branch is up to date with 'greenc-FNAL/maintenance/actionlint-fixes'.
[greenc@scisoftbuild02] phlex (maintenance/actionlint-fixes) $ docker run --rm -v $(pwd):/repo --workdir /repo rhysd/actionlint:latest | grep -Ece '^\.github/'
0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a new GitHub Actions workflow to run
actionlinton all workflow and action files.This change introduces:
actionlint-check.yamlthat runs on pull requests andworkflow_dispatch.actionlint.yamlconfiguration file in the.githubdirectory.The new workflow follows the existing pattern of using a
pre-checkanddetect-changesjob to avoid running the linter when no relevant files have been modified.