-
Notifications
You must be signed in to change notification settings - Fork 29
24 lines (24 loc) · 1.09 KB
/
oss-merge.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# name: OSS → ENT Merge
# on:
# repository_dispatch:
# types: [ oss-merge ]
# jobs:
# oss-merge:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
# with:
# token: ${{ secrets.ELEVATED_GITHUB_TOKEN }}
# - run: |
# git fetch --prune --unshallow
# ./.github/scripts/merge.sh "${BASE_BRANCH}" "${MERGE_BRANCH}"
# env:
# BASE_BRANCH: ${{ github.event.client_payload.git-ref }}
# OSS_BRANCH: oss-remote/${{ github.event.client_payload.git-ref }}
# OSS_LOCAL_BRANCH: oss/${{ github.event.client_payload.git-ref }}-${{ github.event.client_payload.git-sha }}
# MERGE_BRANCH: oss/merge-${{ github.event.client_payload.git-ref }}-${{github.event.client_payload.git-sha}}
# GITHUB_TOKEN: ${{secrets.ELEVATED_GITHUB_TOKEN }}
# MERGE_APPROVE_TOKEN: ${{secrets.ELEVATED_GITHUB_TOKEN }}
# ACTOR: ${{ github.event.client_payload.git-actor }}
# SHA: ${{github.event.client_payload.git-sha}}