File tree 6 files changed +36
-1
lines changed
6 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 17
17
# Setup
18
18
- name : Checkout
19
19
uses : actions/checkout@v4
20
+ with :
21
+ # Unsetting this would make so that any malicious package could get our Github Token
22
+ persist-credentials : false
20
23
21
24
# Run
22
25
- name : Build
Original file line number Diff line number Diff line change 23
23
uses : actions/checkout@v4
24
24
with :
25
25
ref : ${{ github.ref }}
26
+ # Unsetting this would make so that any malicious package could get our Github Token
27
+ persist-credentials : false
26
28
27
29
# Run
28
30
- name : Check Changelog
63
65
# Setup
64
66
- name : Checkout
65
67
uses : actions/checkout@v4
68
+ with :
69
+ persist-credentials : false
66
70
67
71
- name : Install i686 dependencies
68
72
if : matrix.host == 'i686-unknown-linux-gnu'
@@ -121,6 +125,8 @@ jobs:
121
125
# Setup
122
126
- name : Checkout
123
127
uses : actions/checkout@v4
128
+ with :
129
+ persist-credentials : false
124
130
125
131
- name : Install toolchain
126
132
run : rustup show active-toolchain
@@ -136,6 +142,8 @@ jobs:
136
142
# Setup
137
143
- name : Checkout
138
144
uses : actions/checkout@v4
145
+ with :
146
+ persist-credentials : false
139
147
140
148
- name : Install toolchain
141
149
run : rustup show active-toolchain
@@ -188,6 +196,8 @@ jobs:
188
196
# Setup
189
197
- name : Checkout
190
198
uses : actions/checkout@v4
199
+ with :
200
+ persist-credentials : false
191
201
192
202
- name : Install toolchain
193
203
run : rustup show active-toolchain
Original file line number Diff line number Diff line change 25
25
# Setup
26
26
- name : Checkout
27
27
uses : actions/checkout@v4
28
+ with :
29
+ # Unsetting this would make so that any malicious package could get our Github Token
30
+ persist-credentials : false
28
31
29
32
- name : Install toolchain
30
33
run : rustup show active-toolchain
Original file line number Diff line number Diff line change @@ -22,19 +22,27 @@ jobs:
22
22
# Setup
23
23
- name : Checkout
24
24
uses : actions/checkout@v4
25
+ with :
26
+ # Unsetting this would make so that any malicious package could get our Github Token
27
+ persist-credentials : false
25
28
26
29
- name : Checkout
27
30
uses : actions/checkout@v4
28
31
with :
29
32
ref : ${{ env.TARGET_BRANCH }}
30
33
path : ' out'
34
+ # Unsetting this would make so that any malicious package could get our Github Token
35
+ persist-credentials : false
31
36
32
37
# Run
33
38
- name : Set tag name
34
39
if : startswith(github.ref, 'refs/tags/')
35
40
run : |
36
- TAG=$(basename ${{ github.ref }} )
41
+ TAG=$(basename "${TAGNAME}" )
37
42
echo "TAG_NAME=$TAG" >> $GITHUB_ENV
43
+ env :
44
+ # Make sure that the reference gets expanded before injecting it
45
+ TAGNAME : ${{ github.ref }}
38
46
- name : Set beta to true
39
47
if : github.ref == 'refs/heads/beta'
40
48
run : echo "BETA=true" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 21
21
uses : actions/checkout@v4
22
22
with :
23
23
fetch-depth : 2
24
+ # Unsetting this would make so that any malicious package could get our Github Token
25
+ persist-credentials : false
24
26
25
27
# HEAD is the generated merge commit `refs/pull/N/merge` between the PR and `master`, `HEAD^`
26
28
# being the commit from `master` that is the base of the merge
73
75
steps :
74
76
- name : Checkout
75
77
uses : actions/checkout@v4
78
+ with :
79
+ # Unsetting this would make so that any malicious package could get our Github Token
80
+ persist-credentials : false
76
81
77
82
- name : Cache lintcheck bin
78
83
id : cache-lintcheck-bin
@@ -103,6 +108,9 @@ jobs:
103
108
steps :
104
109
- name : Checkout
105
110
uses : actions/checkout@v4
111
+ with :
112
+ # Unsetting this would make so that any malicious package could get our Github Token
113
+ persist-credentials : false
106
114
107
115
- name : Restore lintcheck bin
108
116
uses : actions/cache/restore@v4
Original file line number Diff line number Diff line change 12
12
# Setup
13
13
- name : Checkout
14
14
uses : actions/checkout@v4
15
+ with :
16
+ # Unsetting this would make so that any malicious package could get our Github Token
17
+ persist-credentials : false
15
18
16
19
- name : Setup Node.js
17
20
uses : actions/setup-node@v4
You can’t perform that action at this time.
0 commit comments