mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
7177b4fa95
to prevent race conditions when two workflows related to the same new issue are triggered within a short interval.
24 lines
790 B
YAML
24 lines
790 B
YAML
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
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: Sync issue comments to JIRA
|
|
uses: espressif/github-actions/sync_issues_to_jira@master
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
JIRA_PASS: ${{ secrets.JIRA_PASS }}
|
|
JIRA_PROJECT: IDFGH
|
|
JIRA_URL: ${{ secrets.JIRA_URL }}
|
|
JIRA_USER: ${{ secrets.JIRA_USER }}
|