Use new version of labkeyClientApi for commands used in API tests for moving jobs #1344
Workflow file for this run
This file contains hidden or 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
| --- | |
| # Workflow to automate merging release branches | |
| name: Release Merging | |
| # Trigger on PR approval | |
| on: | |
| pull_request_review: | |
| types: | |
| - submitted | |
| permissions: | |
| pull-requests: write | |
| contents: write | |
| jobs: | |
| merge_release: | |
| if: > | |
| github.event.review.state == 'approved' && | |
| github.event.pull_request.user.login == 'github-actions[bot]' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Merge PR | |
| uses: LabKey/gitHubActions/merge-release@develop | |
| with: | |
| target_branch: ${{ github.event.pull_request.base.ref }} | |
| merge_branch: ${{ github.event.pull_request.head.ref }} | |
| pr_number: ${{ github.event.pull_request.number }} | |
| github_token: ${{ secrets.GITHUB_TOKEN }} |