File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,18 @@ jobs:
12
12
TMP_BRANCH : temporary/coverage_update
13
13
14
14
steps :
15
+ - name : get secrets
16
+ id : secrets
17
+ uses : SonarSource/vault-action-wrapper@7160b50d75c02fe48eb3c8d354ca4fd7029f546a # tag=2.5.0-4
18
+ with :
19
+ secrets : |
20
+ development/github/token/SonarSource-rspec-coverage token | COVERAGE_GITHUB_TOKEN;
15
21
- uses : actions/checkout@v4
16
22
with :
17
23
persist-credentials : true
18
24
ref : master
19
25
path : ' rspec'
20
- token : ${{ secrets.COVERAGE_GITHUB_TOKEN }}
21
-
26
+ token : ${{ fromJSON(steps.secrets.outputs.vault).COVERAGE_GITHUB_TOKEN }}
22
27
- uses : actions/setup-python@v4
23
28
with :
24
29
python-version : ' 3.9'
33
38
34
39
- name : ' Regenerate coverage information'
35
40
env :
36
- GITHUB_TOKEN : ${{ secrets.COVERAGE_GITHUB_TOKEN }}
41
+ GITHUB_TOKEN : ${{ fromJSON(steps. secrets.outputs.vault) .COVERAGE_GITHUB_TOKEN }}
37
42
id : gen-coverage
38
43
working-directory : ' rspec/rspec-tools'
39
44
run : |
You can’t perform that action at this time.
0 commit comments