diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 24d0aaf9..abcbaf8d 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -59,6 +59,7 @@ jobs: with: repository: revoltchat/api path: api + token: ${{ secrets.PAT }} - name: Download OpenAPI specification if: github.event_name != 'pull_request' @@ -71,5 +72,3 @@ jobs: cwd: "api" add: "*.json" message: "chore: generate OpenAPI specification" - env: - GITHUB_TOKEN: ${{ secrets.PAT }}