Skip to content

Commit

Permalink
ci: Resolve permission issue with release dry run and coverage report…
Browse files Browse the repository at this point in the history
…ing (#1733)

* ci: Resolve permission issue with release dry run and coverage reporting

* key name

* uses a dash
  • Loading branch information
MarquessV authored Feb 6, 2024
1 parent 4903d9d commit 5d6146d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-dry-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ jobs:
release-dry-run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.PAT }}
- name: Install Knope
uses: knope-dev/[email protected]
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ jobs:
test-unit:
name: Test Unit
runs-on: ubuntu-latest
permissions:
pull-requests: write # allows coverage bot to comment
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
Expand Down Expand Up @@ -140,7 +142,7 @@ jobs:
coverageFile: coverage.xml
thresholdAll: 0.87
thresholdNew: 0.9
token: ${{ secrets.PAT }}
token: ${{ secrets.GITHUB_TOKEN }}

check-docker-image:
name: Check types
Expand Down

0 comments on commit 5d6146d

Please sign in to comment.