Skip to content

Commit

Permalink
[skip tests] update test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbrugger committed Apr 4, 2024
1 parent ad4568b commit 8496aa1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8496aa1

Please sign in to comment.