From b47ac5872aa63519c98f3c9e137de51d37cfba23 Mon Sep 17 00:00:00 2001 From: Robert Zondervan Date: Fri, 17 Jan 2020 11:55:22 +0100 Subject: [PATCH] Remove dynamic branch --- .github/workflows/testpr.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/testpr.yml b/.github/workflows/testpr.yml index 5d624fdf..0dea23d5 100644 --- a/.github/workflows/testpr.yml +++ b/.github/workflows/testpr.yml @@ -16,18 +16,18 @@ jobs: uses: geertvdc/setup-hub@master - name: GitHub ref run: echo $GITHUB_REF -# - name: Create PR + - name: Create PR # run: hub pull-request -b GemeenteUtrecht/productenendienstencatalogus:master -h ConductionNL/productenendienstencatalogus:master -m "$MESSAGE" # run: hub pull-request -b GemeenteUtrecht/productenendienstencatalogus:master -h $GITHUB_REPOSITORY:$GITHUB_REF -m "$MESSAGE" # run: | -# for repo in $REPOS; do -# hub pull-request -b $repo:master -h $GITHUB_REPOSITORY:$GITHUB_REF -m "$MESSAGE" -# done -# env: -# GITHUB_TOKEN: ${{ secrets.GITHUB_CI_TOKEN }} -# GITHUB_USER: ${{ secrets.GITHUB_CI_USER }} -# GITHUB_REPOSITORY: ${{ github.repository }} -# GITHUB_REF: ${{ github.ref }} -# HUB_VERBOSE: true -# MESSAGE: Automated pull request from GitHub Action -# REPOS: ${{ secrets.REPOS }} + for repo in $REPOS; do + hub pull-request -b $repo:master -h $GITHUB_REPOSITORY:master -m "$MESSAGE" + done + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_CI_TOKEN }} + GITHUB_USER: ${{ secrets.GITHUB_CI_USER }} + GITHUB_REPOSITORY: ${{ github.repository }} + GITHUB_REF: ${{ github.ref }} + HUB_VERBOSE: true + MESSAGE: Automated pull request from GitHub Action + REPOS: ${{ secrets.REPOS }}