-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (36 loc) · 1011 Bytes
/
pre-release.yml
File metadata and controls
41 lines (36 loc) · 1011 Bytes
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
32
33
34
35
36
37
38
39
40
41
name: Pre-Release
on:
workflow_dispatch:
inputs:
version:
description: 'New version of the package (leave empty for auto generated version)'
type: string
required: false
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: Release packages
uses: ./node_modules/@nanoforge-dev/actions/dist/create-release-pr
with:
package: '@nanoforge-dev/editor'
version: ${{ inputs.version }}
dry: ${{ inputs.dry_run }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}