From 8496aa18858dd65dd48542c3a9d6187b741e914c Mon Sep 17 00:00:00 2001 From: Carl Brugger Date: Thu, 4 Apr 2024 17:08:33 -0500 Subject: [PATCH] [skip tests] update test workflow --- .github/workflows/test.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7e6e8cf01..742e21153 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,8 +12,14 @@ jobs: name: Test timeout-minutes: 20 runs-on: ubuntu-latest - if: ${{ github.head_ref != 'changeset-release/main' }} + if: ${{ github.head_ref != 'changeset-release/main' && !contains(toJSON(github.event.commits[0].message), '[skip tests]') }} steps: + - name: Echo commit message + run: | + echo ${{ toJSON(github.event.pull_request.head.sha) }} + echo ${{ toJSON(github.event.commit.message) }} + exit 0 + - name: Check out code uses: actions/checkout@v3 with: