Skip to content

Create CreatePrivateFork action #3

Create CreatePrivateFork action

Create CreatePrivateFork action #3

name: CreatePrivateFork
run-name: "CreatePrivateFork"
on:
workflow_dispatch:
inputs:
src_repo:
description: |
Source asterisk org repo:
required: true
type: string
dst_repo:
description: |
Destination asterisk org repo:
required: true
type: string
jobs:
CreatePrivateFork:
runs-on: ubuntu-latest
steps:
- name: CreatePrivateFork
uses: asterisk/asterisk-ci-actions/CreatePrivateForkComposite@main
with:
src_repo: ${{inputs.src_repo}}
dst_repo: ${{inputs.dst_repo}}
github_token: ${{secrets.ASTERISKTEAM_PAT}}
UpdateControlData:
uses: ./.github/workflows/UpdateControlData.yml@main

Check failure on line 28 in .github/workflows/CreatePrivateFork.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/CreatePrivateFork.yml

Invalid workflow file

invalid value workflow reference: cannot specify version when calling local workflows
with:
repo: ${{inputs.dst_repo}}
secrets: inherit