Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
startsWith(github.event.pull_request.head.ref, 'release/v')
runs-on: ubuntu-latest
steps:
- uses: HappyOnigiri/ShareSettings/actions/publish-release@main
- uses: HappyOnigiri/ReleaseActions/actions/publish-release@main
with:
branch: ${{ github.event.pull_request.head.ref }}
pr-body: ${{ github.event.pull_request.body }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-reminder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
steps:
- uses: HappyOnigiri/ShareSettings/actions/release-reminder@main
- uses: HappyOnigiri/ReleaseActions/actions/release-reminder@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
21 changes: 17 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,24 @@ on:
workflow_dispatch:
inputs:
version:
description: "Release version (e.g. 1.3.0)"
required: true
description: "Release version (e.g. 1.3.0)。bump を使う場合は空にする"
required: false
type: string
bump:
description: "バージョンの上げ方。version を指定する場合は none にする"
required: false
default: none
type: choice
options:
- none
- auto
- major
- minor
- patch

# バージョンは実行後に確定するため、リリース同士は常に直列化する
concurrency:
group: release-${{ inputs.version }}
group: release
cancel-in-progress: false

permissions:
Expand All @@ -20,8 +32,9 @@ jobs:
prepare:
runs-on: ubuntu-latest
steps:
- uses: HappyOnigiri/ShareSettings/actions/prepare-release@main
- uses: HappyOnigiri/ReleaseActions/actions/prepare-release@main
with:
version: ${{ inputs.version }}
bump: ${{ inputs.bump }}
version-bump-type: npm
github-token: ${{ secrets.GH_TOKEN }}