diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/lint.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c7c9dd41..23049352 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,6 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref || github.ref_name }} + token: ${{ secrets.GITHUB_TOKEN }} - uses: oven-sh/setup-bun@v2 - run: bun install --frozen-lockfile - - run: bun run lint + - run: bun run lint:fix + - uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: "style: auto-fix lint & formatting" |
