From 66c6e5617af698017d6637eed37b8c13daa0abb2 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 12 May 2020 21:49:18 +0100 Subject: [PATCH] Stop running Prettier --- .github/workflows/format.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 .github/workflows/format.yml diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml deleted file mode 100644 index d5aa45b..0000000 --- a/.github/workflows/format.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Run Prettier - -on: - push: - -jobs: - lint: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@master - - - name: Run prettier - run: | - npm install - npx prettier **/*.md --write - - - name: Commit changes - run: | - if [ -n "$(git status --short **/*.md)" ]; then - git config --local user.name "Oliver Davies" - git config --local user.email "339813+opdavies@users.noreply.github.com" - git commit -a -m "Run prettier" - fi - - - name: Push changes - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: ${{ github.head_ref }}