temp: trigger Linux air format via push #1
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
| on: | |
| push: | |
| branches: [feature/air-formatting] | |
| name: format-once | |
| permissions: | |
| contents: write | |
| jobs: | |
| format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: feature/air-formatting | |
| - uses: posit-dev/setup-air@v1 | |
| with: | |
| version: 0.9.0 | |
| - name: Format | |
| run: air format . | |
| - name: Commit | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add -A | |
| git diff --staged --quiet || git commit -m "style: apply air 0.9.0 Linux formatting [skip ci]" | |
| git push |