diff --git a/.github/workflows/build-release-binaries.yml b/.github/workflows/build-release-binaries.yml index 08aed6ee..de29568a 100644 --- a/.github/workflows/build-release-binaries.yml +++ b/.github/workflows/build-release-binaries.yml @@ -48,7 +48,7 @@ jobs: uses: actions/checkout@v2.4.0 with: ref: ${{ github.event.release.target_commitish }} - token: ${{ secrets.BOTTY_GITHUB_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} - uses: Swatinem/rust-cache@v1.3.0 @@ -106,7 +106,7 @@ jobs: - name: Upload archive uses: actions/upload-release-asset@v1.0.2 env: - GITHUB_TOKEN: ${{ secrets.BOTTY_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} asset_path: ./${{ steps.create-archive-name.outputs.archive }} diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index ee95935f..eefa1450 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -31,7 +31,7 @@ jobs: - name: Create release uses: actions/create-release@v1 env: - GITHUB_TOKEN: ${{ secrets.BOTTY_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ steps.extract-version.outputs.version }} release_name: ${{ steps.extract-version.outputs.version }} diff --git a/.github/workflows/draft-new-release.yml b/.github/workflows/draft-new-release.yml index bab5c85a..e6f60dd1 100644 --- a/.github/workflows/draft-new-release.yml +++ b/.github/workflows/draft-new-release.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v2.4.0 with: - token: ${{ secrets.BOTTY_GITHUB_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} - name: Create release branch run: git checkout -b release/${{ github.event.inputs.version }} @@ -56,7 +56,7 @@ jobs: - name: Create pull request uses: thomaseizinger/create-pull-request@1.2.2 with: - GITHUB_TOKEN: ${{ secrets.BOTTY_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} head: release/${{ github.event.inputs.version }} base: master title: Release version ${{ github.event.inputs.version }} diff --git a/.github/workflows/preview-release.yml b/.github/workflows/preview-release.yml index a8207201..9ccec3ee 100644 --- a/.github/workflows/preview-release.yml +++ b/.github/workflows/preview-release.yml @@ -16,7 +16,7 @@ jobs: uses: larryjoelane/delete-release-action@v1.0.24 with: release-name: preview - token: ${{ secrets.BOTTY_GITHUB_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} - name: Give GitHub some time to process the deletion, otherwise our release shows up as draft. Sigh. run: sleep 10 @@ -30,7 +30,7 @@ jobs: - name: Create 'preview' release uses: actions/create-release@v1 env: - GITHUB_TOKEN: ${{ secrets.BOTTY_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: preview release_name: preview