From d16ca97855c31aa6fca29e255b33d24015112949 Mon Sep 17 00:00:00 2001 From: Dane Powell Date: Tue, 25 Jun 2024 12:22:25 -0700 Subject: [PATCH] Create jira.yml --- .github/workflows/jira.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/jira.yml diff --git a/.github/workflows/jira.yml b/.github/workflows/jira.yml new file mode 100644 index 0000000..cafbbf1 --- /dev/null +++ b/.github/workflows/jira.yml @@ -0,0 +1,22 @@ +# When someone opens a public GitHub issue, this workflow will create a corresponding +# Jira ticket and update the issue title to reference the Jira ticket number. +# When someone closes a public GitHub issue, this workflow will comment on the linked +# Jira ticket indicating that the issue was closed. +# Your Jira project key must match the repository name. +name: Sync GitHub issues to Jira +on: + issues: + types: + - opened + - closed +permissions: + issues: write +jobs: + jira: + uses: acquia/.github/.github/workflows/jira.yml@main + # Set the JIRA* secrets in your repository settings. You will need to create an API + # token from your Jira user profile. + secrets: + jira-user-email: ${{ secrets.JIRA_USER_EMAIL }} + jira-api-token: ${{ secrets.JIRA_API_TOKEN }} + github-token: ${{ secrets.GITHUB_TOKEN }}