Skip to content

Commit

Permalink
Add a dispatchable workflow to run yarn fix (#2403)
Browse files Browse the repository at this point in the history
* Add a dispatchable workflow to run `yarn fix`

* Add a linting error

* Revert "Add a linting error"

This reverts commit 53eee40.
  • Loading branch information
TimDiekmann authored Apr 13, 2023
1 parent 0f559b5 commit fdbb361
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/dispatch-fix.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit fdbb361

Please sign in to comment.