Skip to content

chore: better org

chore: better org #1

Workflow file for this run

name: Lint
on:
push:
branches: [ "**" ]
tags-ignore: [ "**" ]
pull_request:
concurrency:
group: "${{ github.workflow }}-${{ github.event.number || github.ref }}"
cancel-in-progress: true
jobs:
lint:
name: "Lint"
# Only run on PRs if the source branch is on someone else's repo
if: "${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}"
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Run lint.py
run: python lint.py
- name: Commit Formatted Code
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: Lint code"