From e46b72086391f8812898a751027aacfa56941a2f Mon Sep 17 00:00:00 2001 From: Jun Kurihara Date: Fri, 13 Oct 2023 11:15:40 +0900 Subject: [PATCH] fix: release actions --- .github/workflows/release.yml | 2 +- .../workflows/{docker_build_push.yml => release_docker.yml} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/{docker_build_push.yml => release_docker.yml} (95%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 93ab5495..2b041841 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: Extract executable binary, upload artifacts, create release on: workflow_run: workflows: - - "Build and publish docker" + - "Release - Build and publish docker, and trigger package release" types: - "completed" branches: diff --git a/.github/workflows/docker_build_push.yml b/.github/workflows/release_docker.yml similarity index 95% rename from .github/workflows/docker_build_push.yml rename to .github/workflows/release_docker.yml index ac4aac65..ab95f282 100644 --- a/.github/workflows/docker_build_push.yml +++ b/.github/workflows/release_docker.yml @@ -1,4 +1,4 @@ -name: Build and publish docker, and trigger release +name: Release - Build and publish docker, and trigger package release on: push: branches: @@ -179,4 +179,4 @@ jobs: uses: peter-evans/repository-dispatch@v2 with: event-type: release-event - client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "pull_request": { "title": "${{ github.event.pull_request.title }}", "body": "${{ github.event.pull_request.body }}", "number": "${{ github.event.pull_request.number }}", "head": "${{ github.event.pull_request.head.ref }}", "base": "${{ github.event.pull_request.base.ref}}"}}' + client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "pull_request": { "title": "${{ github.event.pull_request.title }}", "body": "${{ toJson(github.event.pull_request.body) }}", "number": "${{ github.event.pull_request.number }}", "head": "${{ github.event.pull_request.head.ref }}", "base": "${{ github.event.pull_request.base.ref}}"}}'