diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b0fd518..85b6dbbe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: - name: Coverage comment id: coverage_comment - uses: py-cov-action/python-coverage-comment-action@v3 + uses: py-cov-action/python-coverage-comment-action@main with: GITHUB_TOKEN: ${{ github.token }} ANNOTATE_MISSING_LINES: true diff --git a/.github/workflows/coverage-comment.yml b/.github/workflows/coverage-comment.yml index e4c48ad9..f424d647 100644 --- a/.github/workflows/coverage-comment.yml +++ b/.github/workflows/coverage-comment.yml @@ -17,7 +17,7 @@ jobs: contents: write steps: - name: Post comment - uses: py-cov-action/python-coverage-comment-action@v3 + uses: py-cov-action/python-coverage-comment-action@main with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PR_RUN_ID: ${{ github.event.workflow_run.id }}