Skip to content

Commit

Permalink
wip for release-manager-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaina committed May 31, 2024
1 parent 9730791 commit 95ea360
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/create-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Initialize
uses: joinmisskey/release-actions/.github/actions/checkout-pr@main
uses: misskey-dev/release-manager-actions/.github/actions/checkout-pr@v2
with:
pr_number: ${{ inputs.pr_number }}
user: ${{ inputs.user }}
id: get_pr
- name: Get target version
uses: joinmisskey/release-actions/.github/actions/get-target-version@main
uses: misskey-dev/release-manager-actions/.github/actions/get-target-version@v2
id: v
# バージョンをインクリメント
- name: Increment version
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
id: release_version
# バージョンをpackage.jsonに書き込み
- name: Write version
uses: joinmisskey/release-actions/.github/actions/rewrite-package-json@main
uses: misskey-dev/release-manager-actions/.github/actions/rewrite-package-json@v2
with:
version: ${{ steps.release_version.outputs.result }}
package_jsons: ${{ inputs.package_jsons_to_rewrite }}
Expand All @@ -100,7 +100,7 @@ jobs:
TARGET_VERSION: ${{ steps.v.outputs.target_version }}
# CHANGELOG.mdの内容を取得
- name: Get changelog
uses: joinmisskey/release-actions/.github/actions/get-changelog@main
uses: misskey-dev/release-manager-actions/.github/actions/get-changelog@v2
with:
version: ${{ steps.v.outputs.target_version }}
id: changelog
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ jobs:
TARGET_VERSION: ${{ steps.target_version.outputs.result }}
# バージョンをpackage.jsonに書き込み
- name: Write version
uses: joinmisskey/release-actions/.github/actions/rewrite-package-json@main
uses: misskey-dev/release-manager-actions/.github/actions/rewrite-package-json@v2
with:
version: ${{ steps.release_version.outputs.result }}
package_jsons: ${{ inputs.package_jsons_to_rewrite }}
indent: ${{ inputs.indent }}
# CHANGELOG.mdのUnreleasedの内容を取得
- name: Get changelog
uses: joinmisskey/release-actions/.github/actions/get-changelog@main
uses: misskey-dev/release-manager-actions/.github/actions/get-changelog@v2
with:
version: Unreleased
id: changelog
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Initialize
uses: joinmisskey/release-actions/.github/actions/checkout-pr@main
uses: misskey-dev/release-manager-actions/.github/actions/checkout-pr@v2
with:
pr_number: ${{ inputs.pr_number }}
user: ${{ inputs.user }}
- name: Get target version
uses: joinmisskey/release-actions/.github/actions/get-target-version@main
uses: misskey-dev/release-manager-actions/.github/actions/get-target-version@v2
id: v

- uses: actions/create-github-app-token@v1
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
# バージョンをpackage.jsonに書き込み
- name: Write version
uses: joinmisskey/release-actions/.github/actions/rewrite-package-json@main
uses: misskey-dev/release-manager-actions/.github/actions/rewrite-package-json@v2
with:
version: ${{ steps.v.outputs.target_version }}
package_jsons: ${{ inputs.package_jsons_to_rewrite }}
Expand All @@ -128,7 +128,7 @@ jobs:

# CHANGELOG.mdの内容を取得
- name: Get changelog
uses: joinmisskey/release-actions/.github/actions/get-changelog@main
uses: misskey-dev/release-manager-actions/.github/actions/get-changelog@v2
with:
version: ${{ steps.v.outputs.target_version }}
id: changelog
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-edit-with-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "Release Manager: sync changelog with PR"
on:
push:
branches:
- main
- develop
paths:
- 'CHANGELOG.md'

Expand All @@ -28,11 +28,11 @@ jobs:
env:
STABLE_BRANCH: ${{ vars.STABLE_BRANCH }}
- name: Get target version
uses: joinmisskey/release-actions/.github/actions/get-target-version@main
uses: misskey-dev/release-manager-actions/.github/actions/get-target-version@v2
id: v
# CHANGELOG.mdの内容を取得
- name: Get changelog
uses: joinmisskey/release-actions/.github/actions/get-changelog@main
uses: misskey-dev/release-manager-actions/.github/actions/get-changelog@v2
with:
version: ${{ steps.v.outputs.target_version }}
id: changelog
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-with-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
STABLE_BRANCH: ${{ vars.STABLE_BRANCH }}

merge:
uses: joinmisskey/release-actions/.github/workflows/merge.yml@main
uses: misskey-dev/release-manager-actions/.github/workflows/merge.yml@v2
needs: get-pr
if: ${{ needs.get-pr.outputs.pr_number != '' && inputs.merge == true }}
with:
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
RULESET_EDIT_APP_PRIVATE_KEY: ${{ secrets.RULESET_EDIT_APP_PRIVATE_KEY }}

create-prerelease:
uses: joinmisskey/release-actions/.github/workflows/create-prerelease.yml@main
uses: misskey-dev/release-manager-actions/.github/workflows/create-prerelease.yml@v2
needs: get-pr
if: ${{ needs.get-pr.outputs.pr_number != '' && inputs.merge != true }}
with:
Expand All @@ -86,7 +86,7 @@ jobs:
RELEASE_APP_PRIVATE_KEY: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}

create-target:
uses: joinmisskey/release-actions/.github/workflows/create-target.yml@main
uses: misskey-dev/release-manager-actions/.github/workflows/create-target.yml@v2
needs: get-pr
if: ${{ needs.get-pr.outputs.pr_number == '' }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-with-ready.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
release:
uses: joinmisskey/release-actions/.github/workflows/create-prerelease.yml@main
uses: misskey-dev/release-manager-actions/.github/workflows/create-prerelease.yml@v2
needs: check
if: needs.check.outputs.head == github.event.repository.default_branch && needs.check.outputs.base == vars.STABLE_BRANCH
with:
Expand Down

0 comments on commit 95ea360

Please sign in to comment.