From 075b7ad9a6cba7df8841d2513874f2523790f9c0 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Tue, 18 Jul 2023 13:46:24 +0200 Subject: [PATCH] chore: add autofix ci --- .github/workflows/autofix.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/autofix.yml diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml new file mode 100644 index 00000000..fc3aeee6 --- /dev/null +++ b/.github/workflows/autofix.yml @@ -0,0 +1,24 @@ +name: autofix.ci # needed to securely identify the workflow + +on: + pull_request: + push: + branches: [ "main" ] + +permissions: + contents: read + +jobs: + autofix: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: corepack enable + - uses: actions/setup-node@v3 + with: + node-version: 18 + cache: "pnpm" + - run: pnpm install + - name: Fix lint issues + run: pnpm run lint:fix + - uses: autofix-ci/action@8bc06253bec489732e5f9c52884c7cace15c0160