From 5bb737f81cc65bbbf66f71827a2b1bfb90a84965 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Fri, 28 Jul 2023 18:31:38 +0200 Subject: [PATCH] chore: add autofix ci --- autofix.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 autofix.yml diff --git a/autofix.yml b/autofix.yml new file mode 100644 index 0000000..cd4ee2b --- /dev/null +++ b/autofix.yml @@ -0,0 +1,25 @@ +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 + - run: pnpm stub + - name: Fix lint issues + run: npm run lint:fix + - uses: autofix-ci/action@8caa572fd27b0019a65e4c695447089c8d3138b9