Merge pull request #259 from actiontech/issue-256-10 #181
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: Trigger dms-ee Workflow | |
on: | |
push: | |
branches: | |
- main | |
- 'release*' | |
jobs: | |
trigger-sync-workflow: | |
# this file will sync to dms-ee, we only execute job on actiontech/dms | |
if: github.repository == 'actiontech/dms' | |
name: Create workflow dispatch on dms-ee | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger dms-ee workflow | |
uses: benc-uk/workflow-dispatch@v1 | |
with: | |
token: ${{ secrets.DOWNSTREAM_REPO_SECRET }} | |
repo: actiontech/dms-ee | |
workflow: Sync with DMS | |
ref: ${{ github.ref }}-ee |