Skip to content

⚙️ [Maintenance]: Bring workflows into compliance with the GitHub Actions standard#31

Merged
Marius Storhaug (MariusStorhaug) merged 1 commit into
mainfrom
fix/gha-standard-compliance
Jul 9, 2026
Merged

⚙️ [Maintenance]: Bring workflows into compliance with the GitHub Actions standard#31
Marius Storhaug (MariusStorhaug) merged 1 commit into
mainfrom
fix/gha-standard-compliance

Conversation

@MariusStorhaug

Copy link
Copy Markdown
Member

Brings this repository's inline CI workflows into line with the organization's GitHub Actions coding standard. Runner images are now pinned to specific versions so a runner upgrade is a deliberate, reviewable change, and release runs queue instead of aborting mid-publish.

Changed: runner images are pinned

No workflow uses a -latest runner any more; every runs-on names a specific image.

  • Action-Test.yml — matrix pinned to ubuntu-24.04, windows-2025, macos-15
  • Linter.ymlubuntu-24.04
  • Release.ymlubuntu-24.04

Changed: release runs queue instead of cancelling

Release.yml now sets cancel-in-progress: false, so a release that is publishing queues behind an in-flight run rather than being aborted mid-write. Action-Test.yml and Linter.yml keep cancel-in-progress: true, since cancelling a superseded test or lint run is desirable and is not a publish action.

Technical Details

Validated locally with actionlint (0 issues) on all three workflows; the linter workflow re-checks actionlint in CI.

These workflows are seeded from Template-Action; the same corrections should also land there so regenerated repositories stay compliant (tracked under Process-PSModule#360).

Dependabot update grouping and semver update labels are intentionally out of scope (see MSXOrg/docs#19 and PSModule/Process-PSModule#359).

Pin runner images (ubuntu-24.04, windows-2025, macos-15) and set cancel-in-progress: false on the release workflow so publishing runs queue instead of aborting mid-write.

Fixes #29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Aligns this repository’s inline GitHub Actions workflows with the organization’s GitHub Actions coding standard by pinning runner images to explicit versions and ensuring publish/release workflows queue rather than cancel in-progress runs.

Changes:

  • Pinned runs-on across workflows (including the test matrix) to explicit runner images instead of *-latest.
  • Updated the release workflow concurrency behavior to cancel-in-progress: false so publishing runs queue safely.
  • Kept cancel-in-progress: true for non-publishing workflows (test/lint) to avoid wasting CI on superseded runs.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/Release.yml Pins runner to ubuntu-24.04 and queues release runs by setting cancel-in-progress: false.
.github/workflows/Linter.yml Pins linter runner to ubuntu-24.04 while retaining cancellable concurrency for PR lint runs.
.github/workflows/Action-Test.yml Pins matrix OS runners to ubuntu-24.04, windows-2025, and macos-15 (removes all *-latest).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MariusStorhaug Marius Storhaug (MariusStorhaug) merged commit 4b922ef into main Jul 9, 2026
20 checks passed
@MariusStorhaug Marius Storhaug (MariusStorhaug) deleted the fix/gha-standard-compliance branch July 9, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bring the action into compliance with the GitHub Actions standard

2 participants