Newfold Prepare Release #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Newfold Prepare Release | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| level: | |
| description: 'The level of release to be used.' | |
| type: choice | |
| options: | |
| - 'patch' | |
| - 'minor' | |
| - 'major' | |
| default: 'patch' | |
| required: true | |
| # Disable permissions for all available scopes by default. | |
| # Any needed permissions should be configured at the job level. | |
| permissions: {} | |
| jobs: | |
| # This job runs the newfold module-prep-release workflow for this module. | |
| prep-release: | |
| name: Prepare Release | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| uses: newfold-labs/workflows/.github/workflows/reusable-module-prep-release.yml@main | |
| with: | |
| module-repo: ${{ github.repository }} | |
| module-branch: 'main' | |
| level: ${{ inputs.level }} | |
| json-file: 'package.json' | |
| php-file: '' |