Skip to content

Commit 1348d98

Browse files
authored
Add release prep workflow
1 parent 6bdd20d commit 1348d98

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Newfold Prepare Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
level:
7+
description: 'The level of release to be used.'
8+
type: choice
9+
options:
10+
- 'patch'
11+
- 'minor'
12+
- 'major'
13+
default: 'patch'
14+
required: true
15+
# Disable permissions for all available scopes by default.
16+
# Any needed permissions should be configured at the job level.
17+
permissions: {}
18+
19+
jobs:
20+
21+
# This job runs the newfold module-prep-release workflow for this module.
22+
prep-release:
23+
name: Prepare Release
24+
uses: newfold-labs/workflows/.github/workflows/reusable-module-prep-release.yml@main
25+
permissions:
26+
contents: write
27+
pull-requests: write
28+
with:
29+
module-repo: ${{ github.repository }}
30+
module-branch: 'main'
31+
level: ${{ inputs.level }}
32+
json-file: 'package.json'
33+
php-file: ''

0 commit comments

Comments
 (0)