-
-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gracefully handle webhook errors #1575
Labels
PRIORITY
Fast track for BMAC Members only.
Comments
smashah
added a commit
that referenced
this issue
Apr 13, 2021
@github-actions run ⚡ Release! ⚡(async () => {
function exec(cmd) {
console.log(execSync(cmd).toString());
}
// Config
const gitUserEmail = "github-actions[bot]@users.noreply.github.com";
const gitUserName = "github-actions[bot]";
exec(`echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc`);
exec(`git config --global user.email "${gitUserEmail}"`);
exec(`git config --global user.name "${gitUserName}"`);
exec(`npm i -D`);
exec(`npm run release-ci`);
//comment on the issue
var result = execSync(`npx auto-changelog -o ./tempchangelog.txt --commit-limit false --template ./compact-keepachangelog.hbs --stdout`).toString();
await postComment(result);
//create changelog image
exec(`npm run release-image`);
exec(`git commit -a -m 'updated release-image'`);
exec(`git push --force`);
})(); |
Changelog🚀 Release 3.10.14 (2021-04-13)
|
complete retries and backoff later #659 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For example, when a webhook.site URL is deleted. It responds with a 404. This actually crashes the process when
eventMode: true
(it istrue
by default now).Eventually, the process will need to retry failed requests via config options - e.g
retryOnWebhookFailure
The text was updated successfully, but these errors were encountered: