-
Notifications
You must be signed in to change notification settings - Fork 16
Enhancement: Workflow concurrency control #58
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or requestgithub-actionsv0.2.0Target for v0.2.0Target for v0.2.0
Milestone
Description
Problem
Currently, multiple events (e.g., issue opened + issue edited) can trigger the triage workflow simultaneously, leading to race conditions or duplicate bot comments.
Proposed Solution
Add concurrency control to the GitHub Actions workflow to ensure only one triage process runs per issue/PR at a time.
Implementation:
Add a concurrency group to the workflow files:
concurrency:
group: simili-${{ github.event.issue.number || github.event.pull_request.number }}
cancel-in-progress: falseBenefits:
- Prevents redundant bot comments.
- Avoids race conditions during label application.
- Saves GitHub Actions minutes by not running overlapping triages.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgithub-actionsv0.2.0Target for v0.2.0Target for v0.2.0
Type
Projects
Status
Done