Fix fetch depth

This commit is contained in:
Nick Alteen
2024-02-22 09:12:34 -05:00
parent 548afb2db8
commit 272c21a437
3 changed files with 10 additions and 0 deletions

6
.github/linters/.checkov.yml vendored Normal file
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

View File

@@ -20,6 +20,8 @@ jobs:
- name: Checkout
id: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
id: setup-node

View File

@@ -3,6 +3,8 @@ FROM node:slim
# Create a directory for the action code
RUN mkdir -p /usr/src/app
# Set the working directory inside the container.
WORKDIR /usr/src/app
# Copy the repository contents to the container