-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from CanDIG/fnguyen/workflow
Add workflow file (copied from HTSGet)
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Dispatch | ||
on: | ||
push: | ||
branches: [develop] | ||
jobs: | ||
CanDIG-dispatch: | ||
runs-on: ubuntu-latest | ||
env: | ||
PARENT_REPOSITORY: 'CanDIG/CanDIGv2' | ||
CHECKOUT_BRANCH: 'develop' | ||
PR_AGAINST_BRANCH: 'develop' | ||
OWNER: 'CanDIG' | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
- name: Create PR in CanDIGv2 | ||
id: make_pr | ||
uses: jman005/github-action-pr-expanded@v0 | ||
with: | ||
github_token: ${{ secrets.SUBMODULE_PR }} | ||
parent_repository: ${{ env.PARENT_REPOSITORY }} | ||
checkout_branch: ${{ env.CHECKOUT_BRANCH}} | ||
pr_against_branch: ${{ env.PR_AGAINST_BRANCH }} | ||
pr_description: "PR triggered by update to develop branch on ${{ github.repository }}. Commit hash: ${{ github.sha }}" | ||
owner: ${{ env.OWNER }} | ||
submodule_path: lib/query/query | ||
label: Submodule update |