From ec4d7bdc19693d87570c34d99f34fabc217018e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E4=BC=9F=E6=9D=B0?= <674416404@qq.com> Date: Sun, 23 Jun 2024 20:43:22 +0800 Subject: [PATCH] wip: pr-comment-ci --- .github/workflows/pr-comment-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-comment-ci.yml b/.github/workflows/pr-comment-ci.yml index e76b1db..08475ae 100644 --- a/.github/workflows/pr-comment-ci.yml +++ b/.github/workflows/pr-comment-ci.yml @@ -7,6 +7,8 @@ on: jobs: check: runs-on: ubuntu-latest + outputs: + next_action: ${{ steps.get-action.outputs.next_action }} if: ${{ github.event.issue.pull_request }} steps: - uses: actions/checkout@v4 @@ -33,11 +35,12 @@ jobs: needs: check runs-on: ubuntu-latest steps: - - run: echo ${{ needs.check.get-action.outputs.next_action }} + - run: echo ${{ needs.check.outputs.next_action }} + update-build: needs: check runs-on: ubuntu-latest - if: ${{ needs.check.get-action.outputs.next_action == 'update-build' }} + if: ${{ needs.check.outputs.next_action == 'update-build' }} steps: - uses: actions/checkout@v4 - name: gh checkout pr