From 95ea3608b4939af2c15ffa80a298fc24a3f1f1f4 Mon Sep 17 00:00:00 2001 From: tamaina Date: Sat, 1 Jun 2024 04:20:35 +0900 Subject: [PATCH] wip for release-manager-actions --- .github/workflows/create-prerelease.yml | 8 ++++---- .github/workflows/create-target.yml | 4 ++-- .github/workflows/merge.yml | 8 ++++---- .github/workflows/release-edit-with-push.yml | 6 +++--- .github/workflows/release-with-dispatch.yml | 6 +++--- .github/workflows/release-with-ready.yml | 2 +- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/create-prerelease.yml b/.github/workflows/create-prerelease.yml index 413f4f2..63ef399 100644 --- a/.github/workflows/create-prerelease.yml +++ b/.github/workflows/create-prerelease.yml @@ -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 @@ -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 }} @@ -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 diff --git a/.github/workflows/create-target.yml b/.github/workflows/create-target.yml index c1b08d9..af26b5e 100644 --- a/.github/workflows/create-target.yml +++ b/.github/workflows/create-target.yml @@ -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 diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index bbc37fc..28571f6 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -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 @@ -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 }} @@ -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 diff --git a/.github/workflows/release-edit-with-push.yml b/.github/workflows/release-edit-with-push.yml index 8dba3ab..e1bcb5a 100644 --- a/.github/workflows/release-edit-with-push.yml +++ b/.github/workflows/release-edit-with-push.yml @@ -3,7 +3,7 @@ name: "Release Manager: sync changelog with PR" on: push: branches: - - main + - develop paths: - 'CHANGELOG.md' @@ -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 diff --git a/.github/workflows/release-with-dispatch.yml b/.github/workflows/release-with-dispatch.yml index e22c0f7..a087945 100644 --- a/.github/workflows/release-with-dispatch.yml +++ b/.github/workflows/release-with-dispatch.yml @@ -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: @@ -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: @@ -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: diff --git a/.github/workflows/release-with-ready.yml b/.github/workflows/release-with-ready.yml index 3c7dd7c..79b6ade 100644 --- a/.github/workflows/release-with-ready.yml +++ b/.github/workflows/release-with-ready.yml @@ -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: