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