Pre-Release #12
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: Pre-Release | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| version: | |
| description: New version for the packages | |
| type: string | |
| required: true | |
| dry_run: | |
| description: Perform a dry run? | |
| type: boolean | |
| default: false | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| create-release-pr: | |
| name: Create release pr | |
| runs-on: ubuntu-latest | |
| if: github.repository_owner == 'NanoForge-dev' | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| fetch-tags: true | |
| - name: Prepare | |
| uses: ./.github/actions/prepare | |
| - name: Create release PR | |
| uses: ./node_modules/@nanoforge-dev/actions/actions/create-packages-release-pr | |
| with: | |
| packages: "@nanoforge-dev/schematics" | |
| version: ${{ inputs.version }} | |
| dry: ${{ inputs.dry_run }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |