-
Notifications
You must be signed in to change notification settings - Fork 4
/
action.yml
27 lines (25 loc) · 852 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
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'
outputs:
prId:
description: 'Issue ID of the created PR'
runs:
using: 'node20'
main: 'dist/index.js'