From eb522ee3c389f37ca7b1d0c476c4d738d897c974 Mon Sep 17 00:00:00 2001 From: Pavel Mikula <57188685+pavel-mikula-sonarsource@users.noreply.github.com> Date: Wed, 18 Sep 2024 14:39:13 +0200 Subject: [PATCH] SLI-1605 Jira integration: Use repo vault token (#1168) --- .github/workflows/PullRequestCreated.yml | 2 +- .github/workflows/RequestReview.yml | 2 +- docs/PULL_REQUEST_TEMPLATE.md | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/PullRequestCreated.yml b/.github/workflows/PullRequestCreated.yml index 21acf6d67..e1148dd49 100644 --- a/.github/workflows/PullRequestCreated.yml +++ b/.github/workflows/PullRequestCreated.yml @@ -18,7 +18,7 @@ jobs: uses: SonarSource/vault-action-wrapper@v3 with: secrets: | - operations/team/re/kv/data/github/github-jira-integration token | GITHUB_TOKEN; + development/github/token/{REPO_OWNER_NAME_DASH}-jira token | GITHUB_TOKEN; development/kv/data/jira user | JIRA_USER; development/kv/data/jira token | JIRA_TOKEN; - uses: sonarsource/gh-action-lt-backlog/PullRequestCreated@v2 diff --git a/.github/workflows/RequestReview.yml b/.github/workflows/RequestReview.yml index c891f3a1c..5eac0d555 100644 --- a/.github/workflows/RequestReview.yml +++ b/.github/workflows/RequestReview.yml @@ -18,7 +18,7 @@ jobs: uses: SonarSource/vault-action-wrapper@v3 with: secrets: | - operations/team/re/kv/data/github/github-jira-integration token | GITHUB_TOKEN; + development/github/token/{REPO_OWNER_NAME_DASH}-jira token | GITHUB_TOKEN; development/kv/data/jira user | JIRA_USER; development/kv/data/jira token | JIRA_TOKEN; - uses: sonarsource/gh-action-lt-backlog/RequestReview@v2 diff --git a/docs/PULL_REQUEST_TEMPLATE.md b/docs/PULL_REQUEST_TEMPLATE.md index 2a2515b1b..338a8dad0 100644 --- a/docs/PULL_REQUEST_TEMPLATE.md +++ b/docs/PULL_REQUEST_TEMPLATE.md @@ -1,4 +1,5 @@ -Part of