feat: set custom User-Agent in API requests #9
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| 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@v7 | |
| with: | |
| commit_message: Fix styling |