-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
30 lines (30 loc) · 1.01 KB
/
action.yml
File metadata and controls
30 lines (30 loc) · 1.01 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
name: 'Sync OpenAPI Files'
description: 'Sync OpenAPI specification files between repositories or update API from source using fern'
inputs:
repository:
description: 'Target repository in owner/repo format (only used when update_from_source is false)'
required: false
token:
description: 'GitHub token with repo scope for repository access'
required: true
branch:
description: 'Branch name to create or update'
required: false
default: 'fern/sync-openapi'
sources:
description: 'JSON or YAML array of mappings (from source to destination) (only used when update_from_source is false)'
required: false
auto_merge:
description: 'Whether to push directly to the branch or create a PR'
required: false
default: 'false'
update_from_source:
description: 'Whether to run "fern api update" on the current repository instead of syncing files'
required: false
default: 'false'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'refresh-cw'
color: 'green'