From fdbb3617569d64c4f617b34e374fd972edd5b205 Mon Sep 17 00:00:00 2001 From: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Thu, 13 Apr 2023 11:30:51 +0200 Subject: [PATCH] Add a dispatchable workflow to run `yarn fix` (#2403) * Add a dispatchable workflow to run `yarn fix` * Add a linting error * Revert "Add a linting error" This reverts commit 53eee40a0364815bf6ce37e3551ef4fa62d75ba9. --- .github/workflows/dispatch-fix.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/dispatch-fix.yml diff --git a/.github/workflows/dispatch-fix.yml b/.github/workflows/dispatch-fix.yml new file mode 100644 index 00000000000..e9b11764b77 --- /dev/null +++ b/.github/workflows/dispatch-fix.yml @@ -0,0 +1,22 @@ +name: Fix +on: workflow_dispatch +jobs: + yarn: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Warm up repo + uses: ./.github/actions/warm-up-repo + + - name: Fix + run: yarn fix + + - name: Commit + run: | + git config user.name github-actions + git config user.email github-actions@github.com + git add . + git commit -m '`yarn fix`' + git push