File tree 6 files changed +1691
-12
lines changed
6 files changed +1691
-12
lines changed Original file line number Diff line number Diff line change 1
- node_modules /
2
1
.env
2
+ coverage
3
+ node_modules /
Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ export async function main(
100
100
authorization : `bearer ${ appAuthentication . token } ` ,
101
101
} ,
102
102
} ) . catch ( ( error ) => {
103
+ /* c8 ignore next */
103
104
if ( error . status !== 404 ) throw error ;
104
105
105
106
// https://docs.github.com/rest/apps/apps?apiVersion=2022-11-28#get-a-user-installation-for-the-authenticated-app
@@ -122,7 +123,7 @@ export async function main(
122
123
core . setSecret ( authentication . token ) ;
123
124
124
125
core . setOutput ( "token" , authentication . token ) ;
125
-
126
+
126
127
// Make token accessible to post function (so we can invalidate it)
127
128
if ( ! skipTokenRevoke ) {
128
129
core . saveState ( "token" , authentication . token ) ;
Original file line number Diff line number Diff line change 33
33
} ) ,
34
34
skipTokenRevoke
35
35
) . catch ( ( error ) => {
36
+ /* c8 ignore next 3 */
36
37
console . error ( error ) ;
37
38
core . setFailed ( error . message ) ;
38
39
} ) ;
You can’t perform that action at this time.
0 commit comments