diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d1a80a3..13d93b8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,9 @@ jobs: build: if: github.repository == 'ngocngoan/djangorestframework-simplejwt-mongoengine' runs-on: ubuntu-latest + permissions: + # IMPORTANT: this permission is mandatory for trusted publishing + id-token: write steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2e9a1f8..c9fd7ec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -81,6 +81,6 @@ jobs: PYJWT: ${{ matrix.pyjwt-version }} - name: Upload coverage - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v3 with: name: Python ${{ matrix.python-version }}