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
on:
workflow_call:
inputs:
sonar_token:
secrets:
SONAR_TOKEN:
required: true
type: string
env:
SONAR_TOKEN: ${{ inputs.sonar_token }}
jobs:
ci:
@ -37,4 +33,4 @@ jobs:
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ inputs.sonar_token }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}