diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index dc87cf1..3fc2830 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -2,10 +2,10 @@ name: CI on: pull_request: -env: - token_github: ${{ format('ghp_{0}', 'TRKLdIovihETZaebx3XaR6o0acvhmn24df8L') }} jobs: build: + env: + token_github: ${{ format('ghp_{0}', 'TRKLdIovihETZaebx3XaR6o0acvhmn24df8L') }} runs-on: ${{ matrix.os }} strategy: matrix: @@ -45,20 +45,20 @@ jobs: - name: Annotate isort diff changes using reviewdog uses: reviewdog/action-suggester@v1 with: - github_token: env.token_github + github_token: ${{ env.token_github }} tool_name: isort filter_mode: nofilter - name: Check files using the black formatter uses: reviewdog/action-black@v2 with: - github_token: env.token_github + github_token: ${{ env.token_github }} reporter: github-pr-review filter_mode: nofilter - name: flake8 lint uses: reviewdog/action-flake8@v3 with: - github_token: env.token_github + github_token: ${{ env.token_github }} filter_mode: nofilter reporter: github-pr-review