Fixed prompt tokens not being accounted in CodeTF v2 to v3 conversion #1168
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: Format Pixeebot PRs | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| jobs: | |
| apply-black: | |
| if: github.event.pull_request.user.login == 'pixeebot[bot]' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install black | |
| run: pip install black | |
| - name: Apply black formatting | |
| run: black . | |
| - name: Commit and push changes | |
| uses: stefanzweifel/git-auto-commit-action@v6 | |
| with: | |
| commit_message: ":art: Apply formatting" |