From e359f5f378a380fc8fd37b87d6dbbf1fdd0d78f3 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Fri, 7 Jul 2023 22:17:56 +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