Skip to content

Commit fa93485

Browse files
authored
CI - Update coverage workflow (#2221)
The `check-coverage` workflow has been failing due to token permissions. This PR aims to fix this. Ref: https://github.com/pydata/pydata-sphinx-theme/actions/runs/15561326728/job/43814581627
1 parent 3caf346 commit fa93485

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
path: test-results/
111111

112112
coverage:
113-
name: "Check coverage"
113+
name: "check coverage"
114114
needs: run-pytest
115115
runs-on: ubuntu-latest
116116
# avoid running this on schedule, releases, workflow_call, or workflow_dispatch
@@ -161,7 +161,7 @@ jobs:
161161
uses: py-cov-action/python-coverage-comment-action@d1ff8fbb5ff80feedb3faa0f6d7b424f417ad0e1
162162
id: coverage_comment
163163
with:
164-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
164+
GITHUB_TOKEN: ${{ github.token }}
165165

166166
- name: "Store Pull Request comment to be posted 📤"
167167
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02

0 commit comments

Comments
 (0)