File tree 5 files changed +26
-8
lines changed
5 files changed +26
-8
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
name : ci
3
3
4
- on :
4
+ permissions : read-all
5
+
6
+ on :
5
7
pull_request :
6
8
7
9
jobs :
8
10
super-linter :
11
+ permissions :
12
+ statuses : write
9
13
runs-on : ubuntu-22.04
10
14
steps :
11
15
- name : Checkout Code
12
16
uses : actions/checkout@v4
17
+ with :
18
+ fetch-depth : 0
13
19
14
20
- name : Lint Code Base
15
- uses : github/super-linter/slim@v5
21
+ uses : github/super-linter/slim@v6
16
22
env :
17
23
DEFAULT_BRANCH : main
18
24
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25
+ VALIDATE_SHELL_SHFMT : false
19
26
20
27
docker-build :
21
28
runs-on : ubuntu-22.04
Original file line number Diff line number Diff line change 1
1
---
2
2
name : dependabot-auto-merge
3
3
4
+ permissions : read-all
5
+
4
6
on :
5
7
pull_request :
6
8
7
9
jobs :
8
10
auto-merge :
11
+ permissions :
12
+ contents : write
9
13
runs-on : ubuntu-22.04
10
14
steps :
11
15
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1
1
---
2
2
name : Release Drafter
3
3
4
+ permissions :
5
+ contents : read
6
+
4
7
on :
5
8
push :
6
9
branches :
7
10
- main
8
11
pull_request :
9
12
types : [opened, reopened, synchronize]
10
13
11
- permissions :
12
- contents : read
13
-
14
14
jobs :
15
15
update_release_draft :
16
16
permissions :
Original file line number Diff line number Diff line change 1
1
---
2
2
name : release
3
3
4
+ permissions : read-all
5
+
4
6
on :
5
7
push :
6
8
branches :
10
12
11
13
jobs :
12
14
docker-build-push :
15
+ permissions :
16
+ contents : read
17
+ id-token : write
18
+ packages : write
13
19
runs-on : ubuntu-22.04
14
20
steps :
15
21
- name : Checkout Code
Original file line number Diff line number Diff line change 1
- FROM google/cloud-sdk:439 .0.0-alpine
1
+ FROM google/cloud-sdk:473 .0.0-alpine
2
2
3
3
COPY entrypoint.sh /
4
4
5
5
# hadolint ignore=DL3013,DL3018
6
- RUN apk add --no-cache mysql-client py3-pip rsync && \
7
- pip3 install --no-cache-dir awscli && \
6
+ RUN apk add --no-cache aws-cli mysql-client rsync && \
8
7
rm -rf /var/cache/apk/* && \
9
8
chmod +x /entrypoint.sh
10
9
10
+ # checkov:skip=CKV_DOCKER_2:We don't need Docker HEALTHCHECK in Kubernetes
11
+
11
12
USER cloudsdk
12
13
13
14
ENTRYPOINT ["/entrypoint.sh" ]
You can’t perform that action at this time.
0 commit comments