Skip to content

Commit

Permalink
Update linter.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored Oct 29, 2024
1 parent 9d8987d commit b1094d7
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,32 @@
name: Lint Code Base
name: Lint

on: [push, pull_request]
on: # yamllint disable-line rule:truthy
push: null
pull_request: null

permissions: {}

jobs:
lint:
build:
name: Lint
runs-on: ubuntu-latest

permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/checkout@v4
with:
node-version: '14' # or your preferred version
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0

- name: Run Super-Linter
uses: github/super-linter@v3
- name: Super-linter
uses: super-linter/super-linter@v7.1.0 # x-release-please-version
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RUN_LINTERS: markdown

0 comments on commit b1094d7

Please sign in to comment.