Merge pull request #41 from actions/dependabot/github_actions/super-linter/super-linter-6

Bump super-linter/super-linter from 5 to 6
This commit is contained in:
Nick Alteen
2024-02-22 09:21:09 -05:00
committed by GitHub
4 changed files with 17 additions and 7 deletions
+6
View File
@@ -0,0 +1,6 @@
quiet: true
skip-check:
# Ensure that HEALTHCHECK instructions have been added to container images
- CKV_DOCKER_2
# Ensure that a user for the container has been created
- CKV_DOCKER_3
+5 -5
View File
@@ -10,17 +10,17 @@ on:
schedule: schedule:
- cron: '31 7 * * 3' - cron: '31 7 * * 3'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions: permissions:
actions: read actions: read
checks: write checks: write
contents: read contents: read
security-events: write security-events: write
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
+3 -1
View File
@@ -20,6 +20,8 @@ jobs:
- name: Checkout - name: Checkout
id: checkout id: checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js - name: Setup Node.js
id: setup-node id: setup-node
@@ -34,7 +36,7 @@ jobs:
- name: Lint Codebase - name: Lint Codebase
id: super-linter id: super-linter
uses: super-linter/super-linter/slim@v5 uses: super-linter/super-linter/slim@v6
env: env:
DEFAULT_BRANCH: main DEFAULT_BRANCH: main
FILTER_REGEX_EXCLUDE: dist/**/* FILTER_REGEX_EXCLUDE: dist/**/*
+2
View File
@@ -3,6 +3,8 @@ FROM node:slim
# Create a directory for the action code # Create a directory for the action code
RUN mkdir -p /usr/src/app RUN mkdir -p /usr/src/app
# Set the working directory inside the container.
WORKDIR /usr/src/app WORKDIR /usr/src/app
# Copy the repository contents to the container # Copy the repository contents to the container