Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update release workflow trigger type #988

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

YrrepNoj
Copy link
Member

@YrrepNoj YrrepNoj commented Sep 5, 2024

This PR updates our release workflow so that the tag-for-release workflow triggers the publish workflow (instead of the publish workflow being triggered by a tag push.)

Motivation: When the GitHub Bot would create a new tag in our repository the on.push.tag trigger would not actually trigger and a manual tag push was required. This change streamlines our release workflow to not require that middle step.

The trigger logic for this change was heavily inspired (:cough: copied :cough:) from uds-core/.github/workflows/tag-and-release.yaml and uds-core/.github/workflows/publish.yaml

@YrrepNoj YrrepNoj requested a review from a team as a code owner September 5, 2024 20:19
Copy link

netlify bot commented Sep 5, 2024

Deploy Preview for leapfrogai-docs canceled.

Name Link
🔨 Latest commit 99ac20b
🔍 Latest deploy log https://app.netlify.com/sites/leapfrogai-docs/deploys/66da1880b3da26000865e99c

.github/workflows/release.yaml Outdated Show resolved Hide resolved
Copy link
Contributor

@justinthelaw justinthelaw left a comment

Choose a reason for hiding this comment

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

Everything looks good and seems to work as independent components. I can try to break this down into 1 artifact being published (I don't currently have large, personal runners) in a fork of the repo and run it tomorrow morning to confirm.

@CollectiveUnicorn
Copy link
Contributor

I don't see any issues with the workflow as written, the conventions all seem correct

@YrrepNoj YrrepNoj merged commit ce4952b into main Sep 6, 2024
18 checks passed
@YrrepNoj YrrepNoj deleted the release-please-workflow-updates branch September 6, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants