Skip to content

Commit 272c21a

Browse files
committed
Fix fetch depth
1 parent 548afb2 commit 272c21a

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.github/linters/.checkov.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
quiet: true
2+
skip-check:
3+
# Ensure that HEALTHCHECK instructions have been added to container images
4+
- CKV_DOCKER_2
5+
# Ensure that a user for the container has been created
6+
- CKV_DOCKER_3

.github/workflows/linter.yml

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
- name: Checkout
2121
id: checkout
2222
uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
2325

2426
- name: Setup Node.js
2527
id: setup-node

Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ FROM node:slim
33

44
# Create a directory for the action code
55
RUN mkdir -p /usr/src/app
6+
7+
# Set the working directory inside the container.
68
WORKDIR /usr/src/app
79

810
# Copy the repository contents to the container

0 commit comments

Comments
 (0)