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

Release on push to master instead of on closed PRs targeting it. #9544

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

obi1kenobi
Copy link
Collaborator

This is safer than the prior approach, since it's safe by default: the release workflows never get triggered for non-merged PRs, so there's no possibility of a buggy conditional accidentally letting a workflow proceed when it shouldn't have.

The only loss is that publishing no longer requires a release label on the merged PR that bumps the version. We can add a separate CI step that enforces that part as a condition for merging into master, if desirable.

@vercel
Copy link

vercel bot commented Aug 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Aug 21, 2023 3:55pm

@dosubot dosubot bot added the 🤖:improvement Medium size change to existing code to handle new use-cases label Aug 21, 2023
@obi1kenobi obi1kenobi marked this pull request as ready for review August 21, 2023 16:57
@obi1kenobi obi1kenobi merged commit a7eba8b into master Aug 21, 2023
@obi1kenobi obi1kenobi deleted the pg/release-on-push-not-pull-request branch August 21, 2023 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:improvement Medium size change to existing code to handle new use-cases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants