Update ci-python.yml

This commit is contained in:
Luke Tainton 2023-02-28 16:47:39 +00:00 committed by GitHub
parent 9f6edb5eef
commit 2e762ebd89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,9 @@
name: Python CI name: Python CI
on: on:
workflow_call: workflow_call:
inputs: secrets:
sonar_token: SONAR_TOKEN:
required: true required: true
type: string
env:
SONAR_TOKEN: ${{ inputs.sonar_token }}
jobs: jobs:
ci: ci:
@ -37,4 +33,4 @@ jobs:
uses: SonarSource/sonarcloud-github-action@master uses: SonarSource/sonarcloud-github-action@master
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ inputs.sonar_token }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}