Skip to content

build(deps): bump actions/upload-artifact from 4 to 6 #3

build(deps): bump actions/upload-artifact from 4 to 6

build(deps): bump actions/upload-artifact from 4 to 6 #3

Workflow file for this run

name: Fix Python code style issues
on:
push:
paths:
- '**.py'
permissions:
contents: write
jobs:
python-code-styling:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- name: Install ruff
run: pip install ruff
- name: Fix code style issues
run: |
python -m ruff check --fix src/lettermint || true
python -m ruff format src/lettermint || true
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Fix styling