From 1d0cc49c3f9e042af94ecab9ba78d776ee3a596d Mon Sep 17 00:00:00 2001 From: David Cermak Date: Mon, 8 Nov 2021 12:54:42 +0100 Subject: [PATCH] CI: Sync issues to JIRA --- .github/workflows/sync_issues.yml | 21 +++++++++++++++++++++ .github/workflows/upload_component.yml | 5 ++++- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/sync_issues.yml diff --git a/.github/workflows/sync_issues.yml b/.github/workflows/sync_issues.yml new file mode 100644 index 000000000..08b75d348 --- /dev/null +++ b/.github/workflows/sync_issues.yml @@ -0,0 +1,21 @@ +name: Sync issue comments to JIRA + +# This workflow will be triggered when new issue is created +# or a new issue/PR comment is created +on: [issues, issue_comment] + +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_COMPONENT: esp-protocols + JIRA_URL: ${{ secrets.JIRA_URL }} + JIRA_USER: ${{ secrets.JIRA_USER }} diff --git a/.github/workflows/upload_component.yml b/.github/workflows/upload_component.yml index 7a94e4341..a7f165d62 100644 --- a/.github/workflows/upload_component.yml +++ b/.github/workflows/upload_component.yml @@ -1,6 +1,9 @@ name: Push components to Espressif Component Service -on: push +on: + push: + branches: + - master jobs: upload_components: