Move keep away logic into its own tactic (#3439) #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: auto-fixes with pre-commit | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| types: [ opened, reopened, synchronize, ready_for_review ] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| formatting-check: | |
| name: Formatting and FSM diagram generation with pre-commit-ci-lite | |
| runs-on: ubuntu-22.04 | |
| if: github.event.pull_request.draft == false | |
| steps: | |
| # checks-out the repository under $GITHUB_WORKSPACE | |
| - uses: actions/checkout@v4 | |
| - name: Environment Setup | |
| run: | | |
| "${GITHUB_WORKSPACE}"/environment_setup/setup_software.sh | |
| - name: Install pip | |
| run: curl -sS https://bootstrap.pypa.io/get-pip.py | python | |
| - uses: pre-commit/action@v3.0.1 | |
| - uses: pre-commit-ci/lite-action@v1.1.0 | |
| name: Run pre-commit-ci-lite | |
| if: always() | |