From 94d6a6183c56f47203f9a352cb3995d70f164293 Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Tue, 7 May 2024 14:36:59 -0400 Subject: [PATCH] Revert "Avocado bot token in release workflow" This reverts commit 0d09867450517ff52bab34b808c03dccce78630c. Signed-off-by: Cleber Rosa --- .github/workflows/release.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 014c83956b..17107da17e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,13 +40,6 @@ jobs: URL: "https://readthedocs.org/api/v3/projects/${{ github.event.inputs.rtd_project }}" steps: - - name: Generate token - id: generate_token - uses: tibdex/github-app-token@021a2405c7f990db57f5eae5397423dcc554159c - with: - app_id: ${{ secrets.MR_AVOCADO_ID }} - installation_id: ${{ secrets.MR_AVOCADO_INSTALLATION_ID }} - private_key: ${{ secrets.MR_AVOCADO_PRIVATE_KEY }} - name: install required packages run: dnf -y install rpmdevtools git python3-pip make - uses: actions/checkout@v4 @@ -66,7 +59,7 @@ jobs: - name: Push changes to github uses: ad-m/github-push-action@master with: - github_token: ${{ steps.generate_token.outputs.token }} + github_token: ${{ secrets.RELEASE_TOKEN }} branch: ${{ github.ref }} - name: Build wheel run: make -f Makefile.gh build-wheel check-wheel @@ -115,7 +108,7 @@ jobs: - name: Upload binaries to release uses: svenstaro/upload-release-action@v2 with: - repo_token: ${{ steps.generate_token.outputs.token }} + repo_token: ${{ secrets.RELEASE_TOKEN }} file: ${{ github.workspace }}/EGG_UPLOAD/avocado_framework*egg tag: ${{ github.event.inputs.version }} overwrite: true