Skip to content

fix: cache new entries on static_analysis module #266

fix: cache new entries on static_analysis module

fix: cache new entries on static_analysis module #266

Workflow file for this run

name: Run Formatter
on:
push:
branches:
- main
paths:
- "**.py"
pull_request:
paths:
- "**.py"
permissions:
contents: write # Allows auto-fix commits to be made
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5.6.0
with:
python-version: "3.13"
- name: Install Black
run: pip install black
- name: Run Black formatter
run: black .
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5.2.0
with:
commit_message: "style: format Python code with Black"
branch: ${{ github.head_ref }}