diff --git a/.github/workflows/ci-standard-checks-workflow.yaml b/.github/workflows/ci-standard-checks-workflow.yaml index 08c6d86..179567f 100644 --- a/.github/workflows/ci-standard-checks-workflow.yaml +++ b/.github/workflows/ci-standard-checks-workflow.yaml @@ -2,6 +2,9 @@ name: CI Standard Checks Workflow on: workflow_call: + secrets: + GITHUB_TOKEN: + required: true inputs: skipChecks: required: true @@ -11,9 +14,6 @@ on: required: true default: '' description: 'Optional checks to enable' - githubToken: - required: true - description: 'The github token to get PR info when checking for Jira Issue key' jobs: ci-standard-checks: @@ -27,7 +27,7 @@ jobs: - name: CI Standard Checks uses: Typeform/ci-standard-checks@v1 with: - githubToken: ${{ inputs.githubToken }} + githubToken: ${{ secrets.GITHUB_TOKEN }} skipChecks: ${{ inputs.skipChecks }} enableChecks: ${{ inputs.enableChecks }}