mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2026-05-13 14:15:53 +00:00
SQSCANGHA-143 SubmitReview: Use Vault token (#238)
This commit is contained in:
parent
c7ee0f9df9
commit
ca30b65f4e
1 changed files with 2 additions and 2 deletions
4
.github/workflows/SubmitReview.yml
vendored
4
.github/workflows/SubmitReview.yml
vendored
|
|
@ -10,7 +10,6 @@ jobs:
|
|||
runs-on: github-ubuntu-latest-s
|
||||
permissions:
|
||||
id-token: write
|
||||
pull-requests: read
|
||||
# For external PR, ticket should be moved manually
|
||||
if: |
|
||||
github.event.pull_request.head.repo.full_name == github.repository
|
||||
|
|
@ -21,10 +20,11 @@ jobs:
|
|||
uses: SonarSource/vault-action-wrapper@v3
|
||||
with:
|
||||
secrets: |
|
||||
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/SubmitReview@v2
|
||||
with:
|
||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||
github-token: ${{ fromJSON(steps.secrets.outputs.vault).GITHUB_TOKEN }}
|
||||
jira-user: ${{ fromJSON(steps.secrets.outputs.vault).JIRA_USER }}
|
||||
jira-token: ${{ fromJSON(steps.secrets.outputs.vault).JIRA_TOKEN }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue