ci: limit github-jira sync actions to a single concurrent run

to prevent race conditions when two workflows related to the same new
issue are triggered within a short interval.
This commit is contained in:
Ivan Grokhotkov
2022-01-07 12:51:51 +01:00
parent ad0526e9a0
commit 7177b4fa95
3 changed files with 12 additions and 0 deletions
+4
View File
@@ -3,6 +3,10 @@ name: Sync issues to Jira
# This workflow will be triggered when a new issue is opened
on: issues
# Limit to single concurrent run for workflows which can create Jira issues.
# Same concurrency group is used in issue_comment.yml
concurrency: jira_issues
jobs:
sync_issues_to_jira:
name: Sync issues to Jira