Skip to content

Commit

Permalink
wip: pr-comment-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Jun 23, 2024
1 parent b035855 commit ec4d7bd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pr-comment-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit ec4d7bd

Please sign in to comment.