Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi committed Dec 11, 2023
1 parent 07d0803 commit 97c3aa3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ permissions: {}

jobs:
test1:
if: ${{ !startsWith(github.event.head_commit.message, 'chore(main)')}}
if: ${{ startsWith(github.event.head_commit.message, 'release:')}}
runs-on: ubuntu-latest
steps:
- run: |
echo "test1: ${{ !startsWith(github.event.head_commit.message, 'chore(main)')}}" >> $GITHUB_STEP_SUMMARY
echo "`startsWith(github.event.head_commit.message, 'release:')`: ${{ startsWith(github.event.head_commit.message, 'release:')}}" >> $GITHUB_STEP_SUMMARY
- run: |
echo "`github.event.head_commit.author.name == 'github-actions[bot]'`: ${{ github.event.head_commit.author.name == 'github-actions[bot]'}}" >> $GITHUB_STEP_SUMMARY
test2:
if: ${{ !startsWith(github.event.head_commit.message, 'chore(main):\ ')}}
runs-on: ubuntu-latest
Expand Down

0 comments on commit 97c3aa3

Please sign in to comment.