Skip to content

Commit

Permalink
Testing the release promote build
Browse files Browse the repository at this point in the history
Signed-off-by: David Venable <dlv@amazon.com>
  • Loading branch information
dlvenable committed Aug 2, 2023
1 parent 06b8a94 commit 2b05622
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release-promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@ 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
run: |
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 }}'
Expand All @@ -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,
Expand Down

0 comments on commit 2b05622

Please sign in to comment.