diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 4c125ff..ff89768 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -7,7 +7,6 @@ on: env: DOTNET_VERSION: '3.1.x' CONFIGURATION: 'Release' - COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} jobs: ci: name: build&test&coverage(${{matrix.os}}) @@ -19,6 +18,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + with: + token: ${{ secrets.GH_PAT }} - name: Setup .NET SDK ${{ matrix.dotnet-version }} uses: actions/setup-dotnet@v3 with: @@ -34,7 +35,7 @@ jobs: dotnet minicover report dotnet minicover coverallsreport --service-name "github" \ --service-job-id ${{ github.run_id }} \ - --repo-token ${{ env.COVERALLS_REPO_TOKEN }} \ + --repo-token ${{ secrets.COVERALLS_REPO_TOKEN }} \ --branch ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} \ --commit ${{ github.sha }} cd: