Skip to content

Commit

Permalink
testing master merge
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoYang0000 committed Aug 8, 2024
1 parent 2ad21f1 commit c90f096
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/merge_branch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Merge branch
on:
repository_dispatch:
types: curl_request_merge
jobs:
unit-test:
uses: ./.github/workflows/unittests.yaml

sync-branch:
needs: [unit-test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Merge branch ${{ github.event.client_payload.source_branch }} -> ${{ github.event.client_payload.target_branch }}
uses: everlytic/[email protected]
with:
source_ref: ${{ github.event.client_payload.source_branch }}
target_branch: ${{ github.event.client_payload.target_branch }}
github_token: ${{ github.token }}
commit_message_template: '[Automated] Merged {source_ref} into target {target_branch}'

0 comments on commit c90f096

Please sign in to comment.