Skip to content

Conversation

@heskew
Copy link
Contributor

@heskew heskew commented Oct 11, 2025

…onment protection limits to main but let's not even try.

…onment protection limits to main but let's not even try.
@heskew heskew requested a review from Ethan-Arrowood October 11, 2025 02:36
# Only deploy on push to main or manual trigger, not on PRs
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'workflow_dispatch'
# Only deploy on push to main or manual trigger from main branch, not on PRs
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
Copy link
Contributor

Choose a reason for hiding this comment

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

What if we had a build workflow that ran on everything, and then a deploy workflow that only ever ran on push to main and used the build workflow as a prereq?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

would be nice to cleanup the skipped job in every pr workflow :)

I'll do a bit more of an update when I can get a chance.

@heskew heskew marked this pull request as draft October 19, 2025 14:41
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.

3 participants