diff --git a/.github/workflows/release_workflow.yml b/.github/workflows/release_workflow.yml index 98c6da2b5..7e0ef8255 100644 --- a/.github/workflows/release_workflow.yml +++ b/.github/workflows/release_workflow.yml @@ -199,7 +199,7 @@ jobs: - name: Set release title to version run: | curl -X PATCH \ - -H "Authorization: token ${{ secrets.PAT }}" \ + -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ -H "Accept: application/vnd.github.v3+json" \ https://api.github.com/repos/${{ github.repository }}/releases/${{ env.RELEASE_ID }} \ -d '{"name": "${{ env.VERSION }}"}' @@ -212,7 +212,7 @@ jobs: asset_name: geoweaver.jar asset_content_type: application/java-archive env: - GITHUB_TOKEN: ${{ secrets.PAT }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload DEB Asset uses: actions/upload-release-asset@v1 @@ -222,7 +222,7 @@ jobs: asset_name: geoweaver.deb asset_content_type: application/vnd.debian.binary-package env: - GITHUB_TOKEN: ${{ secrets.PAT }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload .dmg file to Release uses: actions/upload-release-asset@v1 @@ -242,4 +242,4 @@ jobs: asset_name: GeoweaverInstaller.exe asset_content_type: application/vnd.microsoft.portable-executable env: - GITHUB_TOKEN: ${{ secrets.PAT }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}