From 97c3aa359a0dda1e007d941b654469a39afc6e70 Mon Sep 17 00:00:00 2001 From: Mogyuchi Date: Mon, 11 Dec 2023 19:56:51 +0900 Subject: [PATCH] ci: test --- .github/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b10633f74..f62bfdfbe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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