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
9 changes: 6 additions & 3 deletions .github/workflows/release-sdk-changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,13 @@ jobs:
if: needs.determine-changesets-step.outputs.action == 'pr' && (inputs.runner-client-id != '' || inputs.runnerAppId != '')
steps:
- name: 'Validate runner app credentials'
if: ${{ secrets.RUNNER_APP_PRIVATE_KEY == '' }}
env:
RUNNER_APP_PRIVATE_KEY: ${{ secrets.RUNNER_APP_PRIVATE_KEY }}
run: |
echo "Error: RUNNER_APP_PRIVATE_KEY secret must be provided when runner-client-id or runnerAppId is set"
exit 1
if [ -z "$RUNNER_APP_PRIVATE_KEY" ]; then
echo "Error: RUNNER_APP_PRIVATE_KEY secret must be provided when runner-client-id or runnerAppId is set"
exit 1
fi

- name: 'Get token for the GitHub App'
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
Expand Down
Loading