From 1f648e5e91988dc8649201a3d696dd7c3acd49e8 Mon Sep 17 00:00:00 2001 From: Igor Starovierov Date: Mon, 7 Oct 2024 11:14:19 +0000 Subject: [PATCH] add autofix --- .github/workflows/autofix.yml | 26 ++++++++++++++++++++++++++ .github/workflows/release.yml | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/autofix.yml diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml new file mode 100644 index 0000000..7c5381d --- /dev/null +++ b/.github/workflows/autofix.yml @@ -0,0 +1,26 @@ +name: autofix +on: + workflow_call: + pull_request: + push: + branches: + - ci + branches-ignore: + - master + +permissions: + contents: read + +jobs: + autofix: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + - run: npm ci + - run: npm run docs + - run: npm run lint --fix + + - uses: autofix-ci/action@dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30480e9..72f1842 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Release +name: release on: push: