From c54faf29d32befe973476bde69f8b0b25b0f1866 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Thu, 30 Oct 2025 15:20:27 -0700 Subject: release.yml: Use workflow_dispatch for docker-images instead of repository_dispatch. Only that workflow reacts to repository_dispatch, so just using workflow_dispatch should be enough. We want to use workflow_dispatch for manual triggers, and I don't want to maintain two different dispatch methods in the workflow. --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aeb116bf45..d14904d419 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,8 +72,8 @@ jobs: -H "Authorization: Bearer ${{ secrets.MATZBOT_GITHUB_WORKFLOW_TOKEN }}" \ -H "Accept: application/vnd.github+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/ruby/docker-images/dispatches \ - -d '{"event_type": "build", "client_payload": {"ruby_version": "${{ env.RUBY_VERSION }}"}}' + https://api.github.com/repos/ruby/docker-images/actions/workflows/build.yml/dispatches \ + -d '{"ref": "master", "inputs": {"ruby_version": "${{ env.RUBY_VERSION }}"}}' - name: Build snapcraft packages run: | -- cgit v1.2.3