Skip to content

Merge pull request #291 from FormingWorlds/ls/structure-aragog #545

Merge pull request #291 from FormingWorlds/ls/structure-aragog

Merge pull request #291 from FormingWorlds/ls/structure-aragog #545

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