Skip to content
Closed
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
23 changes: 23 additions & 0 deletions .github/workflows/version-consistency-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Version Consistency Check

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
version-check:
name: Version Consistency Check
permissions:
contents: read
runs-on: ubuntu-latest-small
steps:
- uses: actions/checkout@v6

Copilot AI Apr 7, 2026

Copy link

Choose a reason for hiding this comment

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

The workflow references actions/checkout by a moving tag (@v6). To reduce supply-chain risk and prevent unexpected behavior changes, pin this action to a specific commit SHA (optionally using GitHub’s dependabot/action update tooling to manage upgrades).

Suggested change
- uses: actions/checkout@v6
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

Copilot uses AI. Check for mistakes.
with:
persist-credentials: false

- name: Check Version Consistency
uses: Skyscanner/version-consistency-check@v1

Copilot AI Apr 7, 2026

Copy link

Choose a reason for hiding this comment

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

Skyscanner/version-consistency-check@v1 is referenced by a moving major tag. For reproducible builds and to reduce supply-chain risk, consider pinning to a specific commit SHA (and updating intentionally when you want new behavior).

Suggested change
uses: Skyscanner/version-consistency-check@v1
uses: Skyscanner/version-consistency-check@<FULL_40_CHARACTER_COMMIT_SHA_FOR_THE_APPROVED_V1_REVISION>

Copilot uses AI. Check for mistakes.
with:
fail-on-inconsistency: true
Loading