Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/notify-postman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ jobs:
notify:
runs-on: ubuntu-latest
steps:
# Same identity cb-sdk-gen releases specs with (chargebee-sdk-release-bot),
# so no separate personal access token needs minting or rotating: the
# installation token below lives for an hour.
# Dedicated GitHub App, installed on chargebee/cb-openapi-generator alone
# with Contents: write — the single permission repository_dispatch needs.
# No personal access token to mint or rotate: the installation token
# below lives for an hour.
#
# continue-on-error is what keeps this workflow failing soft. Without it
# this step hard-fails when the private key is absent or malformed, before
Expand All @@ -46,8 +47,8 @@ jobs:
continue-on-error: true
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.CB_SDK_BOT_APP_ID }}
private-key: ${{ secrets.CB_SDK_BOT_PEM_KEY }}
app-id: ${{ secrets.POSTMAN_DISPATCH_APP_ID }}
private-key: ${{ secrets.POSTMAN_DISPATCH_PEM_KEY }}
Comment thread
cb-logesh marked this conversation as resolved.
owner: ${{ github.repository_owner }}
repositories: cb-openapi-generator
permission-contents: write
Expand Down
Loading