From 423dce01824ca7847b8b14592964caa7716aeb98 Mon Sep 17 00:00:00 2001 From: Carl Csaposs Date: Mon, 3 Apr 2023 16:06:57 +0000 Subject: [PATCH 1/2] Update sync_issue_to_jira.yaml to v2 Ported from https://github.com/canonical/mysql-operator/pull/131 --- .github/workflows/sync_issue_to_jira.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sync_issue_to_jira.yaml b/.github/workflows/sync_issue_to_jira.yaml index f1f6cca..2c1a4f6 100644 --- a/.github/workflows/sync_issue_to_jira.yaml +++ b/.github/workflows/sync_issue_to_jira.yaml @@ -9,9 +9,13 @@ on: jobs: sync: name: Sync GitHub issue to Jira - uses: "canonical/data-platform-workflows/\ - .github/workflows/sync_issue_to_jira.yaml@v1" + uses: canonical/data-platform-workflows/.github/workflows/sync_issue_to_jira.yaml@v2 with: - jira-component-name: mysql-k8s + jira-base-url: https://warthogs.atlassian.net + jira-project-key: DPE + jira-component-names: mysql-k8s,mysql-router-k8s,rock secrets: - jira-webhook-url: ${{ secrets.JIRA_URL }} + jira-api-token: ${{ secrets.JIRA_API_TOKEN }} + jira-user-email: ${{ secrets.JIRA_USER_EMAIL }} + permissions: + issues: write # Needed to create GitHub issue comment From 4ef16fa24afaa5684d91d26121b638ddfdb1cf6f Mon Sep 17 00:00:00 2001 From: Carl Csaposs Date: Wed, 5 Apr 2023 17:16:30 +0000 Subject: [PATCH 2/2] Fix lint --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 408f72b..e3c9218 100644 --- a/tox.ini +++ b/tox.ini @@ -14,7 +14,7 @@ skip_install = true deps = yamllint commands = - yamllint --no-warnings rockcraft.yaml .github + yamllint --no-warnings rockcraft.yaml [testenv:integration-charm] description = run operator integration tests