Skip to content

Commit

Permalink
Do not auto merge the PR.
Browse files Browse the repository at this point in the history
We need a circuit breaker. Developer must merge the PR in order to release a new SDK version.
  • Loading branch information
Slavko Rihtaric committed Jul 4, 2024
1 parent 012a957 commit 5194a0b
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/generate_sdk_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,4 @@ jobs:
This is a release of the SDK based on the API changes for `data-link` [${{ github.event.client_payload.version }}](${{ github.event.client_payload.release_url }}).
labels: |
automated
${{ github.event.client_payload.labels || 'patch' }}
- name: Approve Pull Request
if: ${{ steps.cpr.outputs.pull-request-number }}
uses: juliangruber/approve-pull-request-action@v1
with:
github-token: ${{ secrets.PAT_APPROVE_PR }}
number: ${{ steps.cpr.outputs.pull-request-number }}

- name: Merge Pull Request
uses: juliangruber/merge-pull-request-action@v1
if: ${{ steps.cpr.outputs.pull-request-number }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
number: ${{ steps.cpr.outputs.pull-request-number }}
method: merge
${{ github.event.client_payload.labels || 'patch' }}

0 comments on commit 5194a0b

Please sign in to comment.