Skip to content

Commit

Permalink
fix: early return 순서 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjoon committed Jul 18, 2024
1 parent 2e95f85 commit 05ab9b6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,15 @@ jobs:
actions: write

steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Early exit
if: contains(github.event.issue.labels.*.name, '백엔드') == false
run: |
gh run cancel ${{ github.run_id }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- uses: actions/setup-java@v4
with:
distribution: 'corretto'
Expand Down

0 comments on commit 05ab9b6

Please sign in to comment.