Remove the GitHub Action job
This commit is contained in:
parent
44b7fb9842
commit
714644a18c
29
.github/workflows/lint.yml
vendored
29
.github/workflows/lint.yml
vendored
|
@ -1,29 +0,0 @@
|
|||
name: Lint README.md
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: Run prettier
|
||||
run: |
|
||||
npm install
|
||||
npx prettier README.md --write
|
||||
|
||||
- name: Commit changes
|
||||
run: |
|
||||
if [ -n "$(git status --short README.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 }}
|
Loading…
Reference in a new issue