Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
platform: macos-latest
include: # So run those legacy versions on Intel CPUs
- python-version: "3.7"
platform: macos-13
platform: macos-15-intel
Comment on lines 30 to +31
Copy link
Contributor

@coderabbitai coderabbitai bot Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

Invalid runner label will block the workflow

macos-15-intel isn’t recognised by GitHub-hosted runners (actionlint flags it as unknown), so this job will stay queued forever. Please swap in a supported label (e.g., the official macos-15/size variant) or adjust the include strategy accordingly. Based on static analysis hints.


🌐 Web query:

List of all GitHub Actions hosted runner labels

💡 Result:

Here are the current GitHub-hosted runner labels (official documentation + runner-images repo):

  • Linux:

    • ubuntu-latest
    • ubuntu-24.04
    • ubuntu-22.04
  • Windows:

    • windows-latest
    • windows-2025
    • windows-2022
  • macOS:

    • macos-latest
    • macos-15
    • macos-15-large
    • macos-15-xlarge
    • macos-15-arm64 (listed as macOS 15 Arm64 / macos-15-arm64)
    • macos-14
    • macos-14-large
    • macos-14-xlarge
    • macos-14-arm64 (macOS 14 Arm64 / macos-14-xlarge variants)
    • macos-13
    • macos-13-large
    • macos-13-xlarge
    • macos-13-arm64 (macos-13-xlarge / macOS-13-arm64 variants)

Sources: official GitHub-hosted runners reference and the actions/runner-images repository. [1][2]

References
[1] GitHub Docs — GitHub-hosted runners reference.
[2] GitHub — actions/runner-images (labels → image table).


Invalid GitHub runner label
macos-15-intel isn’t a supported GitHub-hosted runner and will leave the job queued; replace it with a valid label such as macos-15, macos-15-large, or macos-15-xlarge.

🧰 Tools
🪛 actionlint (1.7.7)

31-31: label "macos-15-intel" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2022", "windows-2019", "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", "ubuntu-20.04", "macos-latest", "macos-latest-xl", "macos-latest-xlarge", "macos-latest-large", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xl", "macos-14-xlarge", "macos-14-large", "macos-14", "macos-13-xl", "macos-13-xlarge", "macos-13-large", "macos-13", "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)

🤖 Prompt for AI Agents
In .github/workflows/test.yml around lines 30 to 31, the runner label
"macos-15-intel" is invalid and will leave the job queued; update the job’s
runner label to a supported GitHub-hosted runner such as "macos-15",
"macos-15-large", or "macos-15-xlarge" (remove the "-intel" suffix), ensuring
the new label matches the job matrix/constraints and retains the same
indentation/format in the YAML.

Copy link
Member Author

@njzjz njzjz Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a false positive.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧩 Analysis chain

🌐 Web query:

GitHub Actions macos-15-intel runner label October 2025

💡 Result:

Yes — as of October 2, 2025 GitHub Actions provides a macOS 15 Intel runner under the label macos-15-intel (for x86_64/Intel workloads). GitHub introduced that label for users needing an Intel environment and announced Intel/macOS deprecation timing (macOS 15 Intel images available until the announced retirement window ending in 2027). [1][2][3]

Sources:

  • GitHub-hosted runners reference (lists macos-15-intel). [1]
  • GitHub Changelog announcing the new macos-15-intel label and deprecation notice. [2]
  • actions/runner-images repo (runner image labels and macOS 15 availability). [3]

@njzjz You're absolutely right—my apologies for the incorrect flag. macos-15-intel is a valid GitHub-hosted runner label introduced in October 2025 for Intel/x86_64 workloads on macOS 15. The actionlint tool (v1.7.7) hasn't yet been updated to recognize this new label, which caused the false positive. Your PR change is correct. 👍


✏️ Learnings added
Learnt from: njzjz
PR: deepmodeling/dpdispatcher#551
File: .github/workflows/test.yml:30-31
Timestamp: 2025-10-02T19:22:48.620Z
Learning: The GitHub Actions runner label `macos-15-intel` is valid as of October 2, 2025. It provides macOS 15 on Intel/x86_64 architecture for workflows that require Intel CPUs instead of Apple Silicon ARM64.

Note: Learnings are effective only in the context of similar code segments. To apply general coding guidelines, please configure review instructions. You can manage existing learnings in the app.

steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
Expand Down
Loading