From f698d758875edcd8dd8e795bb85b731926d81d20 Mon Sep 17 00:00:00 2001 From: Richard Baguley <20583399+bagg3rs@users.noreply.github.com> Date: Thu, 19 May 2022 09:38:22 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AB=20=20add-new-github-actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/issue-to-jira-trigger.yml | 14 ++++++++++++++ .github/workflows/issue-to-project-trigger.yml | 12 ++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .github/workflows/issue-to-jira-trigger.yml create mode 100644 .github/workflows/issue-to-project-trigger.yml diff --git a/.github/workflows/issue-to-jira-trigger.yml b/.github/workflows/issue-to-jira-trigger.yml new file mode 100644 index 0000000..a53c984 --- /dev/null +++ b/.github/workflows/issue-to-jira-trigger.yml @@ -0,0 +1,14 @@ +name: Add Issue to Jira Board On Close + +on: + issues: + types: + - closed + +jobs: + call-workflow-issue-to-jira: + uses: ministryofjustice/cloud-operations-github-actions/.github/workflows/issue-to-jira.yml@main + secrets: + TECH_SERVICES_JIRA_URL: ${{ secrets.TECH_SERVICES_JIRA_URL }} + TECH_SERVICES_JIRA_EMAIL: ${{ secrets.TECH_SERVICES_JIRA_EMAIL }} + TECH_SERVICES_JIRA_TOKEN: ${{ secrets.TECH_SERVICES_JIRA_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/issue-to-project-trigger.yml b/.github/workflows/issue-to-project-trigger.yml new file mode 100644 index 0000000..ccc6b20 --- /dev/null +++ b/.github/workflows/issue-to-project-trigger.yml @@ -0,0 +1,12 @@ +name: Add issues to project + +on: + issues: + types: + - opened + +jobs: + call-workflow-issue-to-project: + uses: ministryofjustice/cloud-operations-github-actions/.github/workflows/issue-to-project.yml@main + secrets: + TECH_SERVICES_GITHUB_TOKEN: ${{ secrets.TECH_SERVICES_GITHUB_TOKEN }} \ No newline at end of file