Skip to content

[ENH] Add AEAttentionBiGRUClusterer #3692

[ENH] Add AEAttentionBiGRUClusterer

[ENH] Add AEAttentionBiGRUClusterer #3692

Workflow file for this run

name: PR pre-commit
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
pre-commit:
runs-on: ubuntu-20.04
steps:
- name: Checkout main
uses: actions/checkout@v4
- name: Setup Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Get changed files
uses: tj-actions/[email protected]
id: changed-files
- name: List changed files
run: echo '${{ steps.changed-files.outputs.all_changed_files }}'
- if: ${{ github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'full pre-commit') }}
name: Full pre-commit
uses: pre-commit/[email protected]
with:
extra_args: --all-files
- if: ${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'full pre-commit') }}
name: Local pre-commit
uses: pre-commit/[email protected]
with:
extra_args: --files ${{ steps.changed-files.outputs.all_changed_files }}
- if: ${{ failure() && github.event_name == 'pull_request' && github.event.pull_request.draft == false }}
name: Push pre-commit fixes
uses: pre-commit-ci/[email protected]