Skip to content

Commit

Permalink
Make source repo dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzondervan committed Jan 17, 2020
1 parent 26da105 commit d1dae02
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/testpr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
- name: Install hub
uses: geertvdc/setup-hub@master
- name: Create PR
run: hub pull-request -b GemeenteUtrecht/productenendienstencatalogus:master -h ConductionNL/productenendienstencatalogus:master -m "Automated pull request from GitHub Action"
run: hub pull-request -b GemeenteUtrecht/productenendienstencatalogus:master -h $GITHUB_REPOSITORY:$GITHUB_REF -m "Automated pull request from GitHub Action"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_USER: ${{ github.actor }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_REF: ${{ github.ref }}

0 comments on commit d1dae02

Please sign in to comment.