diff options
Diffstat (limited to '.github/workflows/lint.yml')
| -rw-r--r-- | .github/workflows/lint.yml | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index aef1341ed..213f9ec65 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,13 +2,17 @@ name: Lint on: push: - branches-ignore: - - "dependabot/**" + branches: + - main pull_request: + workflow_dispatch: env: FORCE_COLOR: 2 - NODE: 16 + NODE: 20 + +permissions: + contents: read jobs: lint: @@ -16,10 +20,12 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 + with: + persist-credentials: false - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: "${{ env.NODE }}" cache: npm |
