Skip to content

Try to fix release triggering on non-merged PRs#20

Merged
dkfellows merged 1 commit intomainfrom
fix/release-trigger
Apr 15, 2025
Merged

Try to fix release triggering on non-merged PRs#20
dkfellows merged 1 commit intomainfrom
fix/release-trigger

Conversation

@aplowman
Copy link
Collaborator

@aplowman aplowman commented Apr 6, 2025

According to the example here https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#running-your-pull_request-workflow-when-a-pull-request-merges we should be explicit with the merged check: github.event.pull_request.merged == true.

For the relevant input parametrisation in hpcflow-new see: https://github.com/hpcflow/hpcflow-new/blob/b9300f0dd330ec11049f77a4093b54d93d3e4836/.github/workflows/release.yml#L14C22-L14C54.

Hopefully this will fix #16.

@aplowman aplowman requested a review from a team as a code owner April 6, 2025 12:05
@dkfellows dkfellows merged commit befb315 into main Apr 15, 2025
@dkfellows dkfellows added the bug Something isn't working label Dec 12, 2025
@dkfellows dkfellows deleted the fix/release-trigger branch February 3, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Release workflow should only run if a PR is merged

2 participants