From 09c417c42262cf3dd6c646464b1e8f65f2235181 Mon Sep 17 00:00:00 2001 From: Zane Schepke Date: Sun, 12 Oct 2025 20:46:42 -0400 Subject: [PATCH] ci: fix token --- .github/workflows/nightly.yml | 8 ++++---- .github/workflows/publish.yml | 7 ++++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 6b7d0799..aa653b86 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -53,14 +53,14 @@ jobs: tag: "latest" message: "Automated tag for HEAD commit" force_push_tag: true - github_token: ${{ secrets.PAT }} + github_token: ${{ github.token }} tag_exists_error: false - name: Generate Changelog id: changelog uses: requarks/changelog-action@v1 with: - token: ${{ secrets.PAT }} + token: ${{ github.token }} toTag: "nightly" fromTag: "latest" writeToFile: false @@ -84,7 +84,7 @@ jobs: tag_name: "nightly" delete_release: true env: - GITHUB_TOKEN: ${{ secrets.PAT }} + GITHUB_TOKEN: ${{ github.token }} - name: Get checksum id: checksum @@ -124,4 +124,4 @@ jobs: files: | ${{ github.workspace }}/temp/**/*.apk env: - GITHUB_TOKEN: ${{ secrets.PAT }} \ No newline at end of file + GITHUB_TOKEN: ${{ github.token }} \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b37ed048..1c952dc2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -86,8 +86,9 @@ jobs: tag: "latest" message: "Automated tag for HEAD commit" force_push_tag: true - github_token: ${{ secrets.PAT }} + github_token: ${{ github.token }} tag_exists_error: false + - name: Get latest release id: latest_release uses: kaliber5/action-get-release@v1 @@ -99,7 +100,7 @@ jobs: id: changelog uses: requarks/changelog-action@v1 with: - token: ${{ secrets.PAT }} + token: ${{ github.token }} toTag: ${{ steps.latest_release.outputs.tag_name }} fromTag: "latest" writeToFile: false @@ -161,7 +162,7 @@ jobs: files: | ${{ github.workspace }}/temp/**/*.apk env: - GITHUB_TOKEN: ${{ secrets.PAT }} + GITHUB_TOKEN: ${{ github.token }} publish-fdroid-public: runs-on: ubuntu-latest