From 2e762ebd8907034c99d4092771071253e0fc4406 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Tue, 28 Feb 2023 16:47:39 +0000 Subject: [PATCH] Update ci-python.yml --- .github/workflows/ci-python.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index 9763462..592f914 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -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 }}