File tree 7 files changed +46
-6
lines changed
7 files changed +46
-6
lines changed Original file line number Diff line number Diff line change 8
8
schedule :
9
9
- cron : " 0 1 * * *"
10
10
11
+ permissions : {}
12
+
11
13
env :
12
14
PYTHON_VERSION : " 3.10"
13
15
@@ -25,11 +27,14 @@ jobs:
25
27
26
28
- name : Set up Docker Buildx
27
29
uses : docker/setup-buildx-action@v3
30
+ with :
31
+ cache-binary : false
28
32
29
33
- name : Check out code
30
34
uses : actions/checkout@v4
31
35
with :
32
36
lfs : true
37
+ persist-credentials : false
33
38
34
39
- name : Login to DockerHub
35
40
uses : docker/login-action@v3
@@ -60,11 +65,14 @@ jobs:
60
65
61
66
- name : Set up Docker Buildx
62
67
uses : docker/setup-buildx-action@v3
68
+ with :
69
+ cache-binary : false
63
70
64
71
- name : Check out code
65
72
uses : actions/checkout@v4
66
73
with :
67
74
lfs : true
75
+ persist-credentials : false
68
76
69
77
- name : Login to DockerHub
70
78
uses : docker/login-action@v3
89
97
steps :
90
98
- name : Set up Docker Buildx
91
99
uses : docker/setup-buildx-action@v3
100
+ with :
101
+ cache-binary : false
92
102
93
103
- name : Check out code
94
104
uses : actions/checkout@v4
105
+ with :
106
+ persist-credentials : false
95
107
96
108
- name : Login to DockerHub
97
109
uses : docker/login-action@v3
Original file line number Diff line number Diff line change 7
7
schedule :
8
8
- cron : " 0 2 * * *"
9
9
10
+ permissions : {}
11
+
10
12
# env:
11
13
# SLACK_API_TOKEN: ${{ secrets.SLACK_API_TOKEN }}
12
14
jobs :
Original file line number Diff line number Diff line change 8
8
branches :
9
9
- main
10
10
11
+ permissions : {}
12
+
11
13
env :
12
14
PYTHON_VERSION : " 3.10"
13
15
17
19
runs-on : ubuntu-latest
18
20
steps :
19
21
- name : Checkout Repository
20
- uses : actions/checkout@v3
22
+ uses : actions/checkout@v4
23
+ with :
24
+ persist-credentials : false
21
25
22
26
- name : Set up Python
23
27
uses : actions/setup-python@v4
45
49
runs-on : ubuntu-latest
46
50
steps :
47
51
- name : Checkout Repository
48
- uses : actions/checkout@v3
52
+ uses : actions/checkout@v4
53
+ with :
54
+ persist-credentials : false
49
55
50
56
- name : Install poetry
51
57
run : pipx install "poetry<2.0.0"
59
65
runs-on : ubuntu-latest
60
66
steps :
61
67
- name : Checkout Repository
62
- uses : actions/checkout@v3
68
+ uses : actions/checkout@v4
69
+ with :
70
+ persist-credentials : false
63
71
64
72
- name : Install poetry
65
73
run : pipx install "poetry<2.0.0"
Original file line number Diff line number Diff line change 8
8
# Run only when DockerFile files are modified
9
9
- " docker/**"
10
10
11
+ permissions : {}
12
+
11
13
env :
12
14
PYTHON_VERSION : " 3.10"
13
15
20
22
steps :
21
23
- name : Check out code
22
24
uses : actions/checkout@v4
25
+ with :
26
+ persist-credentials : false
23
27
24
28
- name : Get changed files
25
29
id : changed-files
34
38
env :
35
39
ALL_CHANGED_FILES : ${{ steps.changed-files.outputs.all_changed_files }}
36
40
run : |
37
- echo "matrix=${{ steps.changed-files.outputs.all_changed_files} }" >> $GITHUB_OUTPUT
41
+ echo "matrix=${ALL_CHANGED_FILES }" >> $GITHUB_OUTPUT
38
42
39
43
40
44
build_modified_dockerfiles :
50
54
steps :
51
55
- name : Set up Docker Buildx
52
56
uses : docker/setup-buildx-action@v3
57
+ with :
58
+ cache-binary : false
53
59
54
60
- name : Check out code
55
61
uses : actions/checkout@v4
62
+ with :
63
+ persist-credentials : false
56
64
57
65
- name : Build Docker image
58
66
uses : docker/build-push-action@v5
Original file line number Diff line number Diff line change 22
22
- " Makefile"
23
23
- " .cache/**"
24
24
25
+ permissions : {}
26
+
25
27
jobs :
26
28
pytest :
27
29
name : Pytest
32
34
- uses : actions/checkout@v4
33
35
with :
34
36
lfs : true # Ensure LFS files are pulled
37
+ persist-credentials : false
35
38
36
39
- name : Install apt dependencies
37
40
# portaudio19-dev is needed to install pyaudio
72
75
- uses : actions/checkout@v4
73
76
with :
74
77
lfs : true # Ensure LFS files are pulled
78
+ persist-credentials : false
75
79
76
80
- name : Install apt dependencies
77
81
run : sudo apt-get update && sudo apt-get install -y ffmpeg
@@ -108,6 +112,7 @@ jobs:
108
112
- uses : actions/checkout@v4
109
113
with :
110
114
lfs : true # Ensure LFS files are pulled
115
+ persist-credentials : false
111
116
112
117
- name : Install apt dependencies
113
118
# portaudio19-dev is needed to install pyaudio
Original file line number Diff line number Diff line change 3
3
4
4
name : Secret Leaks
5
5
6
- permissions :
7
- contents : read
6
+ permissions : {}
8
7
9
8
jobs :
10
9
trufflehog :
14
13
uses : actions/checkout@v4
15
14
with :
16
15
fetch-depth : 0
16
+ persist-credentials : false
17
+
17
18
- name : Secret Scanning
18
19
uses : trufflesecurity/trufflehog@main
19
20
with :
Original file line number Diff line number Diff line change 35
35
rev : v8.21.2
36
36
hooks :
37
37
- id : gitleaks
38
+ - repo : https://github.com/woodruffw/zizmor-pre-commit
39
+ rev : v1.3.1
40
+ hooks :
41
+ - id : zizmor
You can’t perform that action at this time.
0 commit comments