-
Notifications
You must be signed in to change notification settings - Fork 4
/
action.yml
31 lines (29 loc) · 982 Bytes
/
action.yml
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
name: 'NX Migration Action'
description: 'This Action checks your current NX version, migrates the project in a new branch and opens a PR.'
author: 'Timon Masberg'
inputs:
repoToken:
required: true
description: 'Repository secret'
base:
required: false
description: 'The name of the branch you want the changes pulled into.'
default: 'main'
includeMigrationsFile:
required: false
description: 'If false, the migrations.json file will be deleted after running the migrations. It is considered best-practice to check-in the migrations.json.'
default: 'true'
prTitle:
required: false
description: 'Title of the PR where $VERSION is the new version of NX.'
default: 'Migrate NX to $VERSION'
legacyPeerDeps:
required: false
description: 'Value of the legacy-peer-deps flag for npm install.'
default: 'false'
outputs:
prId:
description: 'Issue ID of the created PR'
runs:
using: 'node16'
main: 'dist/index.js'