diff --git a/.github/workflows/test-tapes.yaml b/.github/workflows/test-tapes.yaml index 3208768..c87fd7d 100644 --- a/.github/workflows/test-tapes.yaml +++ b/.github/workflows/test-tapes.yaml @@ -1,12 +1,13 @@ name: Test tapes on: + pull_request: push: branches: - main jobs: azure-openai: runs-on: ubuntu-latest - if: "${{ !startsWith(github.event.head_commit.message, 'docs: ') && !startsWith(github.event.head_commit.message, 'chore: ') }}" + if: "${{ !startsWith(github.event.head_commit.message, 'docs: ') && !startsWith(github.event.head_commit.message, 'chore: ') && !startsWith(github.event.head_commit.message, 'style: ') }}" steps: - uses: actions/checkout@v4 with: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4d159ae..7685c9a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,3 +32,6 @@ repos: rev: '7.0.0' hooks: - id: flake8 +ci: + autofix_commit_msg: 'style: modified by hook' + autoupdate_commit_msg: 'ci: pre-commit autoupdate'