diff --git a/.github/workflows/on-release-published.yml b/.github/workflows/on-release-published.yml index a8172d5871..b137668cdf 100644 --- a/.github/workflows/on-release-published.yml +++ b/.github/workflows/on-release-published.yml @@ -1,4 +1,4 @@ -name: On Release Published (Publish misskey-js) +name: On Release Published on: release: @@ -9,9 +9,9 @@ on: jobs: update-misskey-hub: - name: Update Misskey Hub + name: Update Misskey Hub (Repository Dispatch) runs-on: ubuntu-latest - if: github.release.prerelease == false + if: github.event.name == 'release' && github.release.prerelease == false steps: - name: Get current date