-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
42 lines (38 loc) · 1.11 KB
/
Copy pathaction.yml
File metadata and controls
42 lines (38 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Create Fork Pair
description: Create a fork pair - a public fork and a private fork
author: rohitnb
# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: copy
color: green
# Inputs
inputs:
upstream-repo:
description: 'The upstream repository to fork from. Format: owner/repo'
required: true
default: 'null'
private-mirror-name:
description: 'The name of the private mirror. Format: repo-name'
required: true
default: 'null'
actor:
description: 'The actor who triggered the workflow'
required: false
default: '${{ github.actor }}'
admin-token:
description: 'The admin token to use for the action'
required: true
default: 'null'
organization:
description: 'The organization to create the private mirror in'
required: false
default: '${{ github.organization }}'
# Outputs
outputs:
public-fork: # id of output
description: 'The public fork created. Format: owner/repo'
private-mirror: # id of output
description: 'The private mirror created. Format: owner/repo'
runs:
using: node20
main: dist/index.js