File tree Expand file tree Collapse file tree 9 files changed +38
-18
lines changed
Expand file tree Collapse file tree 9 files changed +38
-18
lines changed Original file line number Diff line number Diff line change 1+ quiet : true
2+ skip-check : CKV_DOCKER_7
Original file line number Diff line number Diff line change 1+ {
2+ "threshold" : 32
3+ }
Original file line number Diff line number Diff line change 66 - opened
77 - reopened
88
9+ permissions :
10+ issues : write
11+
912jobs :
1013 add-issue-labels :
11- permissions :
12- issues : write
1314 secrets :
1415 ORG_MEMBERSHIP_TOKEN : ${{ secrets.ORG_MEMBERSHIP_TOKEN }}
1516 SENZING_MEMBERS : ${{ secrets.SENZING_MEMBERS }}
16- uses : senzing-factory/build-resources/.github/workflows/add-labels-to-issue.yaml@v1
17+ uses : senzing-factory/build-resources/.github/workflows/add-labels-to-issue.yaml@v2
Original file line number Diff line number Diff line change 88 CREATOR : ${{ github.event.pull_request.user.login }}
99 GITHUB_TOKEN : ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}
1010
11+ permissions :
12+ repository-projects : write
13+
1114jobs :
1215 add-to-project-dependabot :
1316 name : add issue to Senzing Community project
Original file line number Diff line number Diff line change 66 - opened
77 - reopened
88
9+ permissions :
10+ repository-projects : write
11+
912jobs :
1013 add-to-project :
1114 name : add issue to project
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ permissions:
1414
1515jobs :
1616 lint-workflows :
17- uses : senzing-factory/build-resources/.github/workflows/lint-workflows.yaml@v1
17+ uses : senzing-factory/build-resources/.github/workflows/lint-workflows.yaml@v2
Original file line number Diff line number Diff line change 55 branches : [main]
66 types : [closed]
77
8+ permissions :
9+ repository-projects : write
10+
811jobs :
912 move-pr-to-done-dependabot :
1013 secrets :
1114 SENZING_GITHUB_PROJECT_RW_TOKEN : ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }}
12- uses : senzing-factory/build-resources/.github/workflows/move-pr-to-done.yaml@v1
15+ uses : senzing-factory/build-resources/.github/workflows/move-pr-to-done.yaml@v2
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: pylint
22
33on : [push]
44
5+ permissions :
6+ contents : read
7+
58jobs :
69 pylint :
710 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ FROM ${BASE_IMAGE}
44ENV REFRESHED_AT=2022-12-21
55
66LABEL Name="senzing/code-snippets" \
7- 8- Version="0.0.1"
7+ 8+ Version="0.0.1"
99
1010# Run as "root" for system installation.
1111
@@ -14,24 +14,26 @@ USER root
1414# Install packages via apt.
1515
1616RUN apt-get update \
17- && apt-get -y install \
18- vim \
19- nano \
20- curl \
21- less \
22- python3 \
23- ipython3 \
24- python3-pip \
25- python3-virtualenv \
26- python3-venv \
27- && rm -rf /var/lib/apt/lists/*
17+ && apt-get -y install \
18+ vim \
19+ nano \
20+ curl \
21+ less \
22+ python3 \
23+ ipython3 \
24+ python3-pip \
25+ python3-virtualenv \
26+ python3-venv \
27+ && rm -rf /var/lib/apt/lists/*
2828
2929# # Copy files from repository.
3030
3131COPY ./Python/ /code-snippets/Python
3232COPY ./Resources/ /code-snippets/Resources
3333COPY ./rootfs /
3434
35+ HEALTHCHECK CMD ["/app/healthcheck.sh" ]
36+
3537# Make non-root container.
3638
3739USER 1001
You can’t perform that action at this time.
0 commit comments