File tree Expand file tree Collapse file tree 6 files changed +36
-1
lines changed Expand file tree Collapse file tree 6 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 1717 # Setup
1818 - name : Checkout
1919 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
2023
2124 # Run
2225 - name : Build
Original file line number Diff line number Diff line change 2323 uses : actions/checkout@v4
2424 with :
2525 ref : ${{ github.ref }}
26+ # Unsetting this would make so that any malicious package could get our Github Token
27+ persist-credentials : false
2628
2729 # Run
2830 - name : Check Changelog
6365 # Setup
6466 - name : Checkout
6567 uses : actions/checkout@v4
68+ with :
69+ persist-credentials : false
6670
6771 - name : Install i686 dependencies
6872 if : matrix.host == 'i686-unknown-linux-gnu'
@@ -121,6 +125,8 @@ jobs:
121125 # Setup
122126 - name : Checkout
123127 uses : actions/checkout@v4
128+ with :
129+ persist-credentials : false
124130
125131 - name : Install toolchain
126132 run : rustup show active-toolchain
@@ -136,6 +142,8 @@ jobs:
136142 # Setup
137143 - name : Checkout
138144 uses : actions/checkout@v4
145+ with :
146+ persist-credentials : false
139147
140148 - name : Install toolchain
141149 run : rustup show active-toolchain
@@ -188,6 +196,8 @@ jobs:
188196 # Setup
189197 - name : Checkout
190198 uses : actions/checkout@v4
199+ with :
200+ persist-credentials : false
191201
192202 - name : Install toolchain
193203 run : rustup show active-toolchain
Original file line number Diff line number Diff line change 2525 # Setup
2626 - name : Checkout
2727 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
2831
2932 - name : Install toolchain
3033 run : rustup show active-toolchain
Original file line number Diff line number Diff line change @@ -22,19 +22,27 @@ jobs:
2222 # Setup
2323 - name : Checkout
2424 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
2528
2629 - name : Checkout
2730 uses : actions/checkout@v4
2831 with :
2932 ref : ${{ env.TARGET_BRANCH }}
3033 path : ' out'
34+ # Unsetting this would make so that any malicious package could get our Github Token
35+ persist-credentials : false
3136
3237 # Run
3338 - name : Set tag name
3439 if : startswith(github.ref, 'refs/tags/')
3540 run : |
36- TAG=$(basename ${{ github.ref }} )
41+ TAG=$(basename "${TAGNAME}" )
3742 echo "TAG_NAME=$TAG" >> $GITHUB_ENV
43+ env :
44+ # Make sure that the reference gets expanded before injecting it
45+ TAGNAME : ${{ github.ref }}
3846 - name : Set beta to true
3947 if : github.ref == 'refs/heads/beta'
4048 run : echo "BETA=true" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 2121 uses : actions/checkout@v4
2222 with :
2323 fetch-depth : 2
24+ # Unsetting this would make so that any malicious package could get our Github Token
25+ persist-credentials : false
2426
2527 # HEAD is the generated merge commit `refs/pull/N/merge` between the PR and `master`, `HEAD^`
2628 # being the commit from `master` that is the base of the merge
7375 steps :
7476 - name : Checkout
7577 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
7681
7782 - name : Cache lintcheck bin
7883 id : cache-lintcheck-bin
@@ -103,6 +108,9 @@ jobs:
103108 steps :
104109 - name : Checkout
105110 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
106114
107115 - name : Restore lintcheck bin
108116 uses : actions/cache/restore@v4
Original file line number Diff line number Diff line change 1212 # Setup
1313 - name : Checkout
1414 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
1518
1619 - name : Setup Node.js
1720 uses : actions/setup-node@v4
You can’t perform that action at this time.
0 commit comments