Skip to content

Commit

Permalink
Added app support
Browse files Browse the repository at this point in the history
  • Loading branch information
ViacheslavP committed Nov 27, 2024
1 parent 0dbb68c commit c3e2721
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/update_tdk_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ jobs:
env:
RELEASE_VERSION: ${{ github.event.client_payload.version }}
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.TDK_GOVERNOR_RELEASE_APP_ID }}
private-key: ${{ secrets.TDK_GOVERNOR_RELEASE_APP_PRIVATE_KEY }}

- uses: actions/checkout@v4

- name: Update image version
Expand All @@ -31,7 +37,7 @@ jobs:
- name: Create PR
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
pr=$(gh pr create --base main \
--head "update-release-version-v${RELEASE_VERSION}" \
Expand Down

0 comments on commit c3e2721

Please sign in to comment.