-
-
Notifications
You must be signed in to change notification settings - Fork 4k
34 lines (28 loc) · 779 Bytes
/
autofix.yaml
File metadata and controls
34 lines (28 loc) · 779 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
33
34
name: autofix.ci
permissions:
contents: read
on:
pull_request:
branches: [main]
push:
branches: [crowdin]
jobs:
autofix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v5
- uses: actions/setup-node@v6
with:
node-version: lts/*
cache: pnpm
- run: pnpm install
- run: pnpm prune && pnpm dedupe
- run: pnpm run lint:fix
- run: docker run -v `pwd`:`pwd` -w `pwd` ghcr.io/realm/swiftlint:latest --fix
working-directory: ./apps/stage-pocket
# - name: AutoCorrect
# uses: huacnlee/autocorrect-action@main
# with:
# args: --fix
- uses: autofix-ci/action@7a166d7532b277f34e16238930461bf77f9d7ed8 # v1.3.3