mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
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:
parent
ad0526e9a0
commit
7177b4fa95
4
.github/workflows/issue_comment.yml
vendored
4
.github/workflows/issue_comment.yml
vendored
@ -3,6 +3,10 @@ name: Sync issue comments to JIRA
|
||||
# This workflow will be triggered when new issue comment is created (including PR comments)
|
||||
on: issue_comment
|
||||
|
||||
# Limit to single concurrent run for workflows which can create Jira issues.
|
||||
# Same concurrency group is used in new_issues.yml
|
||||
concurrency: jira_issues
|
||||
|
||||
jobs:
|
||||
sync_issue_comments_to_jira:
|
||||
name: Sync Issue Comments to Jira
|
||||
|
4
.github/workflows/new_issues.yml
vendored
4
.github/workflows/new_issues.yml
vendored
@ -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
|
||||
|
4
.github/workflows/new_prs.yml
vendored
4
.github/workflows/new_prs.yml
vendored
@ -6,6 +6,10 @@ on:
|
||||
schedule:
|
||||
- cron: "0 * * * *"
|
||||
|
||||
# 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_prs_to_jira:
|
||||
name: Sync PRs to Jira
|
||||
|
Loading…
x
Reference in New Issue
Block a user