-
Notifications
You must be signed in to change notification settings - Fork 0
ci: split release checks and share test workers #487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| --- | ||
| # Runner labels actionlint has no way to know about. | ||
| # | ||
| # actionlint checks every `runs-on` against the list of GitHub-hosted labels it | ||
| # ships with, so the Blacksmith machines pr.yml and release.yml ask for read as | ||
| # typos and any change to a workflow comes back with an error against each one. | ||
| # | ||
| # Nothing in this repository runs actionlint as part of a check. This file is | ||
| # here for the editors and review tooling that do run it, and because a label | ||
| # that has to be spelled exactly is worth writing down in one place. | ||
| # | ||
| # Keep in step with the `runs-on` lines in .github/workflows/. | ||
| self-hosted-runner: | ||
| labels: | ||
| - blacksmith-4vcpu-ubuntu-2404 | ||
| - blacksmith-8vcpu-ubuntu-2404 |
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: KensioSoftware/yulin
Length of output: 158
🏁 Script executed:
Repository: KensioSoftware/yulin
Length of output: 16245
🌐 Web query:
actionlint 1.7.12 unknown runner label self-hosted-runner configuration Blacksmith blacksmith-4vcpu-ubuntu-2404💡 Result:
To resolve the actionlint error regarding the unknown runner label "blacksmith-4vcpu-ubuntu-2404", you must explicitly whitelist this custom label in your project's actionlint configuration file [1][2]. Actionlint flags this as an error because it is not part of its built-in list of recognized GitHub-hosted runner labels [2]. To fix this, create or update the file.github/actionlint.yaml in your repository with the following configuration [1][3][4]: #.github/actionlint.yaml self-hosted-runner: labels: - blacksmith-4vcpu-ubuntu-2404 If you use multiple Blacksmith runner labels, you can list them all under the labels section [5][6][7]: #.github/actionlint.yaml self-hosted-runner: labels: - blacksmith-4vcpu-ubuntu-2404 - blacksmith-8vcpu-ubuntu-2404 # Add other labels as needed By adding these definitions, actionlint will recognize these as valid self-hosted runner labels and stop reporting the [runner-label] error [1][8][9][10].
Citations:
🏁 Script executed:
Repository: KensioSoftware/yulin
Length of output: 4001
🌐 Web query:
site:github.com/rhysd/actionlint docs/config.md self-hosted-runner labels actionlint.yaml location💡 Result:
The configuration file for actionlint, named actionlint.yaml or actionlint.yml, is typically placed in the.github directory of your repository [1][2]. Regarding the specific configuration for self-hosted runners, the labels are defined under the self-hosted-runner section in your actionlint configuration file [3][2]. This allows actionlint to recognize your custom runner labels when validating workflows [4]. The configuration supports glob patterns for flexible label matching [3][4]. Example configuration structure: self-hosted-runner: labels: - linux-runner-1 - custom-gpu-* For most setups, placing the file at.github/actionlint.yaml is sufficient [1][2]. If you are using specialized tools like Super-Linter, you may need to check that specific tool's documentation for its required configuration file location, as it may differ from the default expected by actionlint [1][5]. You can generate a default configuration file using the actionlint -init-config command [1].
Citations:
Configure actionlint for the Blacksmith runner labels.
Add
blacksmith-4vcpu-ubuntu-2404andblacksmith-8vcpu-ubuntu-2404underself-hosted-runner.labelsin.github/actionlint.yaml. actionlint 1.7.12 rejects all fourruns-onentries without this configuration.🧰 Tools
🪛 actionlint (1.7.12)
[error] 85-85: label "blacksmith-4vcpu-ubuntu-2404" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2025-vs2026", "windows-2022", "windows-11-arm", "ubuntu-slim", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "macos-latest", "macos-latest-xlarge", "macos-latest-large", "macos-26-intel", "macos-26-xlarge", "macos-26-large", "macos-26", "macos-15-intel", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xlarge", "macos-14-large", "macos-14", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
(runner-label)
📍 Affects 1 file
.github/workflows/release.yml#L85-L85(this comment).github/workflows/release.yml#L114-L114.github/workflows/release.yml#L133-L133.github/workflows/release.yml#L156-L156🤖 Prompt for AI Agents
Source: Linters/SAST tools