Skip to content

Commit

Permalink
Merge pull request #10 from CanDIG/fnguyen/workflow
Browse files Browse the repository at this point in the history
Add workflow file (copied from HTSGet)
  • Loading branch information
OrdiNeu authored Feb 8, 2024
2 parents ba31023 + 6d5af3d commit db6edcc
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/candig-dispatch.yml
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

0 comments on commit db6edcc

Please sign in to comment.