File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,15 +152,6 @@ async function main() {
152152 allowListActions . map ( action => `${ indent } ${ action } ` ) . join ( ',\n' ) + ','
153153 logger . log ( allowList )
154154
155- if ( ! useExactSha ) {
156- logger . log ( '' )
157- logger . log ( '## Specific SHAs Used (for reference):' )
158- logger . log ( '' )
159- const specificList =
160- allActions . map ( action => `${ indent } ${ action } ` ) . join ( ',\n' ) + ','
161- logger . log ( specificList )
162- }
163-
164155 logger . log ( '' )
165156 logger . info ( `Total: ${ allActions . length } actions/workflows` )
166157 logger . log ( '' )
@@ -180,8 +171,11 @@ async function main() {
180171 console . log (
181172 '💡 Tip: Run `pnpm run generate:actions-allow-list --copy` to copy the allow list to clipboard' ,
182173 )
174+ }
175+
176+ if ( ! useExactSha ) {
183177 console . log (
184- '💡 Tip: Add `--exact` flag to use exact SHAs instead of version wildcards' ,
178+ '💡 Tip: Add `--exact` flag to generate list with exact commit SHAs instead of version wildcards' ,
185179 )
186180 }
187181}
You can’t perform that action at this time.
0 commit comments