Skip to content

Do not require internet access #552

Do not require internet access

Do not require internet access #552

Workflow file for this run

name: Code style
on:
push:
branches:
- main
pull_request:
branches:
- main
types:
- opened
- reopened
- synchronize
- ready_for_review
workflow_dispatch:
jobs:
codestyle:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
- name: Run Pre-Commit
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
uses: pre-commit/[email protected]
with:
extra_args: --files $ALL_CHANGED_FILES