Skip to content

Create main.yml

Create main.yml #261

Workflow file for this run

name: "Let me lint:fix that for you"
on: [push]
jobs:
LMLFTFY:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Linter
run: |
npm install --ignore-scripts
cd frontend
npm install --ignore-scripts
- name: Fix everything which can be fixed
run: 'npm run lint:fix'
- uses: stefanzweifel/[email protected]
with:
commit_message: "Auto-fix linting issues"
branch: ${{ github.head_ref }}
commit_options: '--signoff'
commit_user_name: JuiceShopBot
commit_user_email: [email protected]
commit_author: JuiceShopBot <[email protected]>