Skip to content

Merge pull request #85 from issue-ops/dependabot/github_actions/oxsec… #27

Merge pull request #85 from issue-ops/dependabot/github_actions/oxsec…

Merge pull request #85 from issue-ops/dependabot/github_actions/oxsec… #27

Workflow file for this run

name: Lint Codebase
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
issues: write
packages: read
pull-requests: write
statuses: write
jobs:
lint:
name: Lint Codebase
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
- name: Install Dependencies
id: install
run: npm ci
- name: Lint Codebase
id: lint
uses: oxsecurity/megalinter/flavors/javascript@v8
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}