diff --git a/.github/workflows/release-promote.yml b/.github/workflows/release-promote.yml index 73dc9701c7..401918390d 100644 --- a/.github/workflows/release-promote.yml +++ b/.github/workflows/release-promote.yml @@ -34,13 +34,13 @@ jobs: - name: Get Version run: grep '^version=' gradle.properties >> $GITHUB_ENV - - name: GitHub App token - id: github_app_token - uses: tibdex/github-app-token@v1.8.0 - with: - app_id: ${{ secrets.APP_ID }} - private_key: ${{ secrets.APP_PRIVATE_KEY }} - installation_id: 22958780 + #- name: GitHub App token + # id: github_app_token + # uses: tibdex/github-app-token@v1.8.0 + # with: + # app_id: ${{ secrets.APP_ID }} + # private_key: ${{ secrets.APP_PRIVATE_KEY }} + # installation_id: 22958780 - name: Get Approvers id: get_approvers @@ -48,7 +48,7 @@ jobs: echo "approvers=$(cat .github/CODEOWNERS | grep @ | tr -d '* ' | sed 's/@/,/g' | sed 's/,//1')" >> $GITHUB_OUTPUT - uses: trstringer/manual-approval@v1 with: - secret: ${{ steps.github_app_token.outputs.token }} + secret: ${{ github.TOKEN }} approvers: ${{ steps.get_approvers.outputs.approvers }} minimum-approvals: 1 issue-title: 'Release Data Prepper : ${{ env.version }}' @@ -70,7 +70,7 @@ jobs: - name: Create tag uses: actions/github-script@v6 with: - github-token: ${{ steps.github_app_token.outputs.token }} + github-token: ${{ github.TOKEN }} script: | github.rest.git.createRef({ owner: context.repo.owner,