From 798ded4f544649f9f59a24fd2538398cab4f9949 Mon Sep 17 00:00:00 2001 From: Nathaniel May Date: Wed, 1 Mar 2023 16:52:19 -0500 Subject: [PATCH] Revert "Revert "mirror issues to ADAP jira project (#322)" (#338)" (#353) This reverts commit fdfe8ec69b2bb13aa08ae0ae46716eee614931a6. --- .github/workflows/jira-creation.yml | 4 +++- .github/workflows/jira-label.yml | 4 +++- .github/workflows/jira-transition.yml | 7 ++++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/jira-creation.yml b/.github/workflows/jira-creation.yml index b4016befc..2611a8bdd 100644 --- a/.github/workflows/jira-creation.yml +++ b/.github/workflows/jira-creation.yml @@ -19,7 +19,9 @@ permissions: jobs: call-label-action: - uses: dbt-labs/jira-actions/.github/workflows/jira-creation.yml@main + uses: dbt-labs/actions/.github/workflows/jira-creation.yml@main + with: + project_key: ADAP secrets: JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} diff --git a/.github/workflows/jira-label.yml b/.github/workflows/jira-label.yml index 3da2e3a38..1637cbe38 100644 --- a/.github/workflows/jira-label.yml +++ b/.github/workflows/jira-label.yml @@ -19,7 +19,9 @@ permissions: jobs: call-label-action: - uses: dbt-labs/jira-actions/.github/workflows/jira-label.yml@main + uses: dbt-labs/actions/.github/workflows/jira-label.yml@main + with: + project_key: ADAP secrets: JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} diff --git a/.github/workflows/jira-transition.yml b/.github/workflows/jira-transition.yml index ed9f9cd4f..99158a15f 100644 --- a/.github/workflows/jira-transition.yml +++ b/.github/workflows/jira-transition.yml @@ -15,9 +15,14 @@ on: issues: types: [closed, deleted, reopened] +# no special access is needed +permissions: read-all + jobs: call-label-action: - uses: dbt-labs/jira-actions/.github/workflows/jira-transition.yml@main + uses: dbt-labs/actions/.github/workflows/jira-transition.yml@main + with: + project_key: ADAP secrets: JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}