diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index c11c51b7..6d21369f 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -20,7 +20,7 @@ jobs: - name: Check for new commits id: check env: - GITHUB_TOKEN: ${{ secrets.PAT }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | NEW_COMMITS=$(git rev-list --count --after="$(date -Iseconds -d '23 hours ago')" ${{ github.sha }}) echo "new_commits=$NEW_COMMITS" >> $GITHUB_OUTPUT diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c38e918b..9ba6afed 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -178,7 +178,7 @@ jobs: - name: Dispatch update for fdroid repo uses: peter-evans/repository-dispatch@v3 with: - token: ${{ secrets.PAT }} + token: ${{ secrets.GITHUB_TOKEN }} repository: wgtunnel/fdroid event-type: fdroid-update