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

Mitigate race condition around setting size labels. #43

Merged
merged 1 commit into from
Mar 2, 2024

Conversation

lerebear
Copy link
Owner

@lerebear lerebear commented Mar 2, 2024

Closes #42 .

By fetching labels from the API just before we apply them, we reduce the
chance that the set of labels has changed since the workflow started.
@lerebear lerebear force-pushed the lerebear-refresh-labels branch from 0a47505 to 0ed1635 Compare March 2, 2024 23:38
@lerebear lerebear merged commit 53cb53e into main Mar 2, 2024
2 checks passed
@lerebear lerebear deleted the lerebear-refresh-labels branch March 2, 2024 23: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.

Race condition from overlapping workflow runs prevents us from removing a stale label
1 participant