Skip to content

Commit

Permalink
fix: Update test.yml (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi authored Dec 9, 2023
1 parent c7a3472 commit 31b6d7d
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,19 @@ on:
permissions: {}

jobs:
test:
test1:
if: ${{ !startsWith(github.event.head_commit.message, 'chore(main)')}}
runs-on: ubuntu-latest
steps:
- if: ${{ !startsWith(github.event.head_commit.message, 'chore(main)')}}
run: echo "${{ !startsWith(github.event.head_commit.message, 'chore(main)')}}" >> $GITHUB_STEP_SUMMARY
- run: |
echo "test1: ${{ !startsWith(github.event.head_commit.message, 'chore(main)')}}" >> $GITHUB_STEP_SUMMARY
test2:
if: |
${{ !startsWith(github.event.head_commit.message, 'chore(main)')}}
runs-on: ubuntu-latest
steps:
- run: |
echo "test2: ${{ !startsWith(github.event.head_commit.message, 'chore(main)')}}" >> $GITHUB_STEP_SUMMARY
call-test:
uses: ./.github/workflows/debug.yml

0 comments on commit 31b6d7d

Please sign in to comment.