File tree 4 files changed +10
-12
lines changed
4 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ jobs:
223
223
integration-container,
224
224
integration-ssh,
225
225
integration-ssh-third-party-client,
226
- integration-env,
226
+ integration-env
227
227
]
228
228
runs-on : ubuntu-latest
229
229
steps :
Original file line number Diff line number Diff line change @@ -105,8 +105,9 @@ export const action: ActionInterface = {
105
105
? getInput ( 'git-config-email' )
106
106
: pusher && pusher . email
107
107
? pusher . email
108
- : `${ process . env . GITHUB_ACTOR ||
109
- 'github-pages-deploy-action' } @users.noreply.${
108
+ : `${
109
+ process . env . GITHUB_ACTOR || 'github-pages-deploy-action'
110
+ } @users.noreply.${
110
111
process . env . GITHUB_SERVER_URL
111
112
? stripProtocolFromUrl ( process . env . GITHUB_SERVER_URL )
112
113
: 'github.com'
Original file line number Diff line number Diff line change @@ -23,14 +23,11 @@ export async function configureSSH(action: ActionInterface): Promise<void> {
23
23
appendFileSync ( sshKnownHostsDirectory , sshGitHubKnownHostDss )
24
24
25
25
// Initializes SSH agent.
26
- const agentOutput = execFileSync ( 'ssh-agent' )
27
- . toString ( )
28
- . split ( '\n' )
26
+ const agentOutput = execFileSync ( 'ssh-agent' ) . toString ( ) . split ( '\n' )
29
27
30
28
agentOutput . map ( line => {
31
- const exportableVariables = / ^ ( S S H _ A U T H _ S O C K | S S H _ A G E N T _ P I D ) = ( .* ) ; e x p o r t \1/ . exec (
32
- line
33
- )
29
+ const exportableVariables =
30
+ / ^ ( S S H _ A U T H _ S O C K | S S H _ A G E N T _ P I D ) = ( .* ) ; e x p o r t \1/ . exec ( line )
34
31
35
32
if ( exportableVariables && exportableVariables . length ) {
36
33
exportVariable ( exportableVariables [ 1 ] , exportableVariables [ 2 ] )
Original file line number Diff line number Diff line change @@ -96,9 +96,9 @@ export const suppressSensitiveInformation = (
96
96
return value
97
97
}
98
98
99
- const orderedByLength = ( [ action . token , action . repositoryPath ] . filter (
100
- Boolean
101
- ) as string [ ] ) . sort ( ( a , b ) => b . length - a . length )
99
+ const orderedByLength = (
100
+ [ action . token , action . repositoryPath ] . filter ( Boolean ) as string [ ]
101
+ ) . sort ( ( a , b ) => b . length - a . length )
102
102
103
103
for ( const find of orderedByLength ) {
104
104
value = replaceAll ( value , find , '***' )
You can’t perform that action at this time.
0 commit comments