From 4be25c4fdd990da2bf887b03474779c893527a30 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 1 Jun 2026 15:01:01 -0700 Subject: [PATCH] refac --- .github/workflows/docker.yaml | 6 ++---- .github/workflows/release.yml | 11 ----------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 3fd5a5f5bc..abd0362814 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -143,7 +143,7 @@ jobs: merge: runs-on: ubuntu-latest needs: [build] - if: !cancelled() + if: ${{ !cancelled() }} permissions: contents: read packages: write @@ -233,9 +233,7 @@ jobs: copy-to-dockerhub: runs-on: ubuntu-latest - if: >- - !cancelled() && - (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) + if: ${{ !cancelled() && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }} needs: [merge] continue-on-error: true strategy: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8654c2f7db..755b934c39 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,14 +56,3 @@ jobs: !.git env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Dispatch Docker build - uses: actions/github-script@v8 - with: - script: | - github.rest.actions.createWorkflowDispatch({ - owner: context.repo.owner, - repo: context.repo.repo, - workflow_id: 'docker.yaml', - ref: 'v${{ steps.pkg.outputs.version }}', - })