Merge ballerina bot pull requests #21604
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Merge ballerina bot pull requests | |
on: | |
workflow_run: | |
types: | |
- completed | |
workflows: | |
- 'Create Automated VM Version Bump PR' | |
- 'Create Automated Summary PR' | |
jobs: | |
merge-automated-pr: | |
name: Merge Automated PRs | |
runs-on: ubuntu-latest | |
steps: | |
- # It is often a desired behavior to merge only when a workflow execution | |
# succeeds. This can be changed as needed. | |
if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
name: Merge Automated PRs | |
uses: ridedott/[email protected] | |
with: | |
GITHUB_LOGIN: ballerina-bot | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |