Skip to content

Commit 4b922ef

Browse files
⚙️ [Maintenance]: Bring workflows into compliance with the GitHub Actions standard (#31)
Brings this repository's inline CI workflows into line with the organization's [GitHub Actions coding standard](https://github.com/MSXOrg/docs/blob/main/src/docs/Coding-Standards/GitHub-Actions.md). 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. - Fixes #29 ## 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.yml` — `ubuntu-24.04` - `Release.yml` — `ubuntu-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](https://github.com/PSModule/Template-Action); the same corrections should also land there so regenerated repositories stay compliant (tracked under [Process-PSModule#360](PSModule/Process-PSModule#360)). Dependabot update grouping and semver update labels are intentionally out of scope (see [MSXOrg/docs#19](MSXOrg/docs#19) and [PSModule/Process-PSModule#359](PSModule/Process-PSModule#359)).
1 parent ffe7103 commit 4b922ef

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/Action-Test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
ActionTestBasic:
2424
strategy:
2525
matrix:
26-
os: [ubuntu-latest, windows-latest, macos-latest]
26+
os: [ubuntu-24.04, windows-2025, macos-15]
2727
name: Action-Test - [Basic]
2828
runs-on: ${{ matrix.os }}
2929
steps:

.github/workflows/Linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ permissions:
1616
jobs:
1717
Lint:
1818
name: Lint code base
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-24.04
2020
steps:
2121
- name: Checkout repo
2222
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

.github/workflows/Release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ on:
1818

1919
concurrency:
2020
group: ${{ github.workflow }}-${{ github.ref }}
21-
cancel-in-progress: true
21+
cancel-in-progress: false
2222

2323
permissions:
2424
contents: write # Required to create releases
2525
pull-requests: write # Required to create comments on the PRs
2626

2727
jobs:
2828
Release:
29-
runs-on: ubuntu-latest
29+
runs-on: ubuntu-24.04
3030
steps:
3131
- name: Checkout repo
3232
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

0 commit comments

Comments
 (0)