mirror of
https://github.com/moeru-ai/airi.git
synced 2026-05-19 08:10:45 +00:00
* fix(ci): 'should use swiftlint version from env not inputs' * fix(ci): remove `-it` * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Muhammad Nur Faiz <229660710+Meiw0@users.noreply.github.com>
34 lines
770 B
YAML
34 lines
770 B
YAML
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@v3
|
|
- 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@635ffb0c9798bd160680f18fd73371e355b85f27
|