-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deeper validation of workflow yamls (#169)
Extension to #168 - this installs a semantic checker for workflow yamls. (Not just YAML linter.) It runs a strict test on for the YAMLs for mistakes, and then an informational test with all the linting warnings about deprecations and such.
- Loading branch information
1 parent
93b9261
commit 063e8d3
Showing
3 changed files
with
58 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
self-hosted-runner: | ||
# Labels of self-hosted runner in array of strings. | ||
labels: [] | ||
|
||
# Configuration variables in array of strings defined in your repository or | ||
# organization. `null` means disabling configuration variables check. | ||
# Empty array means no configuration variable is allowed. | ||
config-variables: null | ||
|
||
# Configuration for file paths. The keys are glob patterns to match to file | ||
# paths relative to the repository root. The values are the configurations for | ||
# the file paths. Note that the path separator is always '/'. | ||
# The following configurations are available. | ||
# NOTE: Everything from here down is removed in the "Warnings" run of actionlint in the workflow. | ||
paths: | ||
# "ignore" is an array of regular expression patterns. Matched error messages | ||
# are ignored. This is similar to the "-ignore" command line option. | ||
.github/workflows/**/*.{yml,yaml}: | ||
ignore: | ||
- '.*action is too old to run on GitHub Actions.*' | ||
- '.*was deprecated.*' | ||
- '.*shellcheck.*:warning:.*' | ||
- '.*shellcheck.*:info:.*' |
This file contains 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
This file contains 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