mirror of
https://github.com/actions/container-toolkit-action.git
synced 2025-12-10 20:21:17 +00:00
Fix fetch depth
This commit is contained in:
6
.github/linters/.checkov.yml
vendored
Normal file
6
.github/linters/.checkov.yml
vendored
Normal 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
|
||||||
2
.github/workflows/linter.yml
vendored
2
.github/workflows/linter.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user