From 61759b0a205cc1985a12785cf61cb0d45ffe893d Mon Sep 17 00:00:00 2001 From: Tomas Sebestik Date: Fri, 6 Sep 2024 13:12:36 +0200 Subject: [PATCH] docs(caller-workflow): add caller workflow for easy copy to target repo --- docs/caller-workflow.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 docs/caller-workflow.yml diff --git a/docs/caller-workflow.yml b/docs/caller-workflow.yml new file mode 100644 index 0000000..09d84a3 --- /dev/null +++ b/docs/caller-workflow.yml @@ -0,0 +1,24 @@ +--- +name: Sync to Espressif Jira + +on: + issues: {types: [opened]} + issue_comment: {types: [created, edited, deleted]} + schedule: [cron: '0 * * * *'] + +jobs: + sync_to_jira: + name: > + Sync to Jira - + ${{ github.event_name == 'issue_comment' && 'Issue Comments' || + github.event_name == 'schedule' && 'New Pull Requests' || + github.event_name == 'issues' && 'New Issues' }} + runs-on: ubuntu-latest + steps: + - name: Check out PR head + uses: actions/checkout@v4 + + - name: Sync to Jira + uses: espressif/sync-jira-actions@change/composite-action + with: + jira-project: IDFSYNTEST