Skip to content

Commit 48cbc71

Browse files
hopisaurusElvis339
andauthored
ci: fix tenderly delete (#237)
* ci: fix tenderly delete * lint Co-authored-by: Elvis S <[email protected]>
1 parent b4a9f51 commit 48cbc71

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/tenderly-delete-fork.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77

88
jobs:
9-
tenderly:
9+
tenderly-delete:
1010
if: contains(github.event.pull_request.labels.*.name, 'tenderly')
1111
runs-on: ubuntu-latest
1212
timeout-minutes: 10

scripts/tenderly/delete-fork.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ axios
1919
'X-Access-Key': TENDERLY_ACCESS_KEY,
2020
},
2121
})
22-
.catch(process.stderr.write);
22+
.then(() => process.stdout.write('Done'))
23+
.catch((err) => process.stderr.write(err.message));

0 commit comments

Comments
 (0)