Skip to content

Conversation

@taylorludwig
Copy link
Collaborator

Follows logic of example-auto-snapshot to run a snapshot build when its not triggered from of a tag.

This allows builds to be run during PRs for validatation beforing merging, tagging, and doing an actual release.

Only change to the calling workflow is to add the pull_request trigger eg:

on:
  workflow_dispatch:
  pull_request:
  push:
    tags:
      - v*

You can also manually set the snapshot input to true, false, or auto if the calling workflow wants to sort out its own logic.

Example of a it running on a PR can be seen here:

Copy link
Member

@alexlovelltroy alexlovelltroy left a comment

Choose a reason for hiding this comment

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

LGTM

@alexlovelltroy alexlovelltroy merged commit 01b62fb into OpenCHAMI:main Aug 21, 2025
0 of 2 checks passed
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