Skip to content

Commit a5bfc30

Browse files
lachlancollinsautofix-ci[bot]TkDodo
authoredJul 18, 2024··
ci: Add autofix.yml (#7755)
* ci: Add autofix.yml * Intentionally break formatting :( * [autofix.ci] apply automated fixes * Update commit message * Oops, very long line * ci: apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
1 parent 0c671ee commit a5bfc30

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
 

‎.github/workflows/autofix.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: autofix.ci # needed to securely identify the workflow
2+
3+
on:
4+
pull_request:
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
8+
cancel-in-progress: true
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
autofix:
15+
name: autofix
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
- name: Setup Tools
21+
uses: tanstack/config/.github/setup@main
22+
- name: Fix formatting
23+
run: pnpm prettier:write
24+
- name: Apply fixes
25+
uses: autofix-ci/action@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a
26+
with:
27+
commit-message: 'ci: apply automated fixes'

0 commit comments

Comments
 (0)