From a5acd1fc93b83b1c3dd372a7a5a60170c4ad9686 Mon Sep 17 00:00:00 2001 From: Jin Huang Date: Fri, 16 Jul 2021 14:09:36 -0400 Subject: [PATCH] Create sync-with-production.yml --- .github/workflows/sync-with-production.yml | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/sync-with-production.yml diff --git a/.github/workflows/sync-with-production.yml b/.github/workflows/sync-with-production.yml new file mode 100644 index 00000000..244b1b9b --- /dev/null +++ b/.github/workflows/sync-with-production.yml @@ -0,0 +1,26 @@ +name: Sync production branches +on: + push: + branches: + - 'production' +jobs: + sync-branch: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + + - name: Merge production -> production_singleElectron_0-20GeV + uses: devmasx/merge-branch@v1.3.1 + with: + type: now + from_branch: production + target_branch: production_singleElectron_0-20GeV + github_token: ${{ github.token }} + + - name: Merge production -> production_singlePion_0-20GeV + uses: devmasx/merge-branch@v1.3.1 + with: + type: now + from_branch: production + target_branch: production_singlePion_0-20GeV + github_token: ${{ github.token }}