-
-
Notifications
You must be signed in to change notification settings - Fork 1k
32 lines (28 loc) · 727 Bytes
/
autofix.yml
File metadata and controls
32 lines (28 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: autofix.ci
on:
pull_request:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
autofix:
name: autofix
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
steps:
- name: Checkout
uses: actions/checkout@v6
- uses: oven-sh/setup-bun@v2
with:
bun-version-file: '.tool-versions'
- run: bun install --frozen-lockfile
- run: bun run format:fix
- run: bun run lint:fix
- name: Apply fixes
uses: autofix-ci/action@v1
with:
commit-message: 'ci: apply automated fixes'