Skip to content

Commit

Permalink
Added worfklow for cloning PRs (#16108)
Browse files Browse the repository at this point in the history
* Added worfklow for cloning PRs

* Typofix pimcore name

* Changed PR clone to branch clone workflow
  • Loading branch information
bluvulture committed Oct 24, 2023
1 parent 53197de commit a52dc8f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/clone-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Clone branch
on:
workflow_dispatch:
inputs:
base_ref:
required: true
type: string
description: Base branch name for cloning
ref_name:
required: true
type: string
description: Branch name on destination repo

jobs:
clone-branch:
uses: pimcore/workflows-collection-public/.github/workflows/reusable-clone-branch.yaml@v1.0.0-rc.2
if: github.repository == 'pimcore/pimcore'
with:
base_ref: ${{ inputs.base_ref }}
ref_name: ${{ inputs.ref_name }}
target_repo: 'ee-pimcore'
secrets:
SYNC_TOKEN: ${{ secrets.SYNC_TOKEN }}
GIT_NAME: ${{ secrets.GIT_NAME }}
GIT_EMAIL: ${{ secrets.GIT_EMAIL }}

0 comments on commit a52dc8f

Please sign in to comment.