Skip to content

Change checkout reference from 'stable' to 'dev'#28

Merged
hverhelst merged 1 commit into
mainfrom
hotfix/checkout-gismo-in-dev
Mar 3, 2026
Merged

Change checkout reference from 'stable' to 'dev'#28
hverhelst merged 1 commit into
mainfrom
hotfix/checkout-gismo-in-dev

Conversation

@hverhelst

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings March 3, 2026 14:43

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

Updates the GitHub Actions CI workflow to run against the dev branch of the upstream gismo/gismo repository instead of stable, affecting what code version the CI builds/tests against.

Changes:

  • Switch actions/checkout for gismo/gismo from ref: stable to ref: dev.
  • No functional change to the ctest invocation (diff hunk is line-number-only).

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

Comment thread .github/workflows/ci.yml
@@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@master

Copilot AI Mar 3, 2026

Copy link

Choose a reason for hiding this comment

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

actions/checkout@master is a moving ref; pin this to a major version tag (e.g., actions/checkout@v4) or a specific commit SHA to avoid supply-chain risk and unexpected CI behavior when master changes.

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/ci.yml
ref: dev
path: ./gismo

- uses: actions/checkout@master

Copilot AI Mar 3, 2026

Copy link

Choose a reason for hiding this comment

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

This second checkout also uses actions/checkout@master. Consider pinning to actions/checkout@v4 (or a commit SHA) for reproducibility and to reduce the risk of CI breaking due to upstream changes.

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/ci.yml
with:
repository: gismo/gismo
ref: stable
ref: dev

Copilot AI Mar 3, 2026

Copy link

Choose a reason for hiding this comment

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

Checking out gismo/gismo by branch name (ref: dev) makes CI non-deterministic over time (the workflow result can change without any changes in this repo). If the goal is to test against a specific state, consider pinning to a tag or commit SHA (or documenting why tracking dev is required).

Suggested change
ref: dev
ref: 0123456789abcdef0123456789abcdef01234567 # pinned commit (was: dev)

Copilot uses AI. Check for mistakes.
@hverhelst hverhelst merged commit bd80a37 into main Mar 3, 2026
7 checks passed
@hverhelst hverhelst deleted the hotfix/checkout-gismo-in-dev branch March 3, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants