From 14b39b9c09ab382fa25dcb0d52c50b6d05a3affb Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 28 Jun 2024 17:05:45 +0200 Subject: [PATCH] build(ci): add autofix GH action MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/autofix.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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..3100c789 --- /dev/null +++ b/.github/workflows/autofix.yml @@ -0,0 +1,20 @@ +name: autofix.ci +on: + pull_request: + push: + branches: [master] +permissions: + contents: read + +jobs: + autofix: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 + with: + cache: 'pnpm' + - run: pnpm install --ignore-scripts + - run: pnpm format + - uses: autofix-ci/action@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a -- 2.34.1