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

Run GitOps in dry-mode only on pull request #36

Merged
merged 1 commit into from
May 7, 2024

Conversation

getvictor
Copy link
Member

fleetdm/fleet#17687
Run GitOps in dry-mode only on pull request

@getvictor getvictor marked this pull request as ready for review May 6, 2024 18:21
@getvictor
Copy link
Member Author

@spokanemac please review this PR if you have time

workflow_dispatch: # allows manual triggering

# Prevent concurrent runs of this workflow.
Copy link
Member

Choose a reason for hiding this comment

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

Hey @getvictor, does this mean that if two contributor open a PR around the same time, only one contributor will get feedback from the dry run? (errors)

Sorry for the delayed response.

Copy link
Member Author

Choose a reason for hiding this comment

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

No, it should wait for the first dry run to finish before starting the other one. So, both contributors should get feedback.

This concurrency constraint was meant to prevent multiple real runs from running in parallel.

@getvictor getvictor merged commit c039381 into main May 7, 2024
1 check failed
@getvictor getvictor deleted the victor/17687-dry-run-on-pull-request branch May 7, 2024 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants