Skip to content

Commit 1efbd40

Browse files
committed
wip
Signed-off-by: Larry Gritz <[email protected]>
1 parent 07ff743 commit 1efbd40

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ jobs:
5353
uses: ./.github/workflows/build-steps.yml
5454
# Must let the called steps workflow inherit necessary secrets
5555
secrets:
56-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
56+
PASSED_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57+
PASSED_SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
5858
with:
5959
nametag: ${{ matrix.nametag || 'unnamed!' }}
6060
runner: ${{ matrix.runner || 'ubuntu-latest' }}

.github/workflows/build-steps.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ on:
6565
nametag:
6666
type: string
6767
secrets:
68-
GITHUB_TOKEN:
68+
PASSED_GITHUB_TOKEN:
6969
required: false
70-
SONAR_TOKEN:
70+
PASSED_SONAR_TOKEN:
7171
required: false
7272

7373
permissions: read-all
@@ -156,8 +156,8 @@ jobs:
156156
- name: Sonar-scanner
157157
if: inputs.sonar == 1
158158
env:
159-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
160-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
159+
GITHUB_TOKEN: ${{ secrets.PASSED_GITHUB_TOKEN }}
160+
SONAR_TOKEN: ${{ secrets.PASSED_SONAR_TOKEN }}
161161
run: |
162162
which sonar-scanner
163163
ls -l /__w/OpenImageIO/OpenImageIO/bw_output

0 commit comments

Comments
 (0)