fix(webhooks): Gracefully handle unsaved events in webhook actions #11093
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Th̩̗͔̜͟i̶͇͇̺s̙ ̮̯̦̠͖ͅe͖̹̬̼̻͚v̤͖͉͍̣͕ḛ̡n̸͎̰̬̪̟̜̣ṭ̛̖͓͔̱ ̰͖̼̺͢I̜͈͟D̖̫͙̳̺ͅ ̻̥̝͕͚̮͞ͅẁ͉̪͖̳̬ͅa͟s͈̭͔͎̤ ̛̗͉̤̖̟͇͚n̡̙̺̦̫͚̖e̘̖v̬̞̲̲̭͕e͇r͕̰̖̭ ̻̬̮̫̹g̶u̵̼̲̬̣͖̳̳a͔̹̱͍͖r͓͖̦̘̘a̩͘n͓̖̰̖͉t̩̰̠̱̥̭͢e͍e͕̼͕͔̗d̼̺͜ ͓̩̘̥̯̫̤to͉̕ ͍̮͙̠b̨̯̙̙͇͕e̗͎̳͇̘ ̱͖ṇ̘̗̪͖̙̩on̴͓̮-̳̦̲̟̲̯n͇͖̜̯̰ͅul͍̮͇̬l̸ͅ ̝̫h͔͈͈̬̮̟̺́i̸͎s͇̺̼̼̖̻ͅt̴̪̗̰ͅo̱͎̤̪̳̬͈r̥̟̬͉̗̪̺͠ic̠ą̯̫̝͚ll͙̼̹̩͕̭y̗̱͕ ̩͔̯̥̖(d̺̗̭͍ͅu̶͚͕̪̜̦ͅe̶ ̡̱̻̩͍̬ͅt̵̲̥o̹͍͉̭͖̣ ̱̥̞̠l̘̤̥̕e̺̟̗͝g̭͓̻̘̞ͅa̭c͇̻̻̻͍̲̖y͖ ̘̹͚̖̥͇̺̕r͕̼͔̞̺e̹̘̝as͚̳͙̦͍ͅo̷̱͈̣͚͇̞̣n̹̟s̷͇͍ ̟̥̥a̞̫͉r̘̹o̥̹̲̥̠u̥̗͚̰ń̦͎͇͍̗̱̥d̠͔̙̱̬͉̘ ͙̩̤̭͖͡ś̼͉͇̮̞͕͍a͓͞m͖̖̹ͅp͚͈̝l̴͈i̥͇̭̜ͅn͙g͙̪͚̲̲̳͞)͎̻̪̼̖͉͘,̢̙ ̖͖̺̹͙̕ͅͅs̱̭͖͓̠̹o̞͙̟̝̯ ́w͚͢e̳͈͎/̶̗̳̤̜͇̪̘I̻ ̫̪̩ḍ̪̻̬i̧̹͖d̥̖̭͎͉͝n̡͎͚̰̰̹ͅ't ̭̠͎̼̰̺ͅs̢̪͖̖͔̤e̙̥̻͈e͍ ̱̳̕a͚̣̰̥n̰̤y̡̟̠̲͈̙̺ ̶͔̬ŕ̞͉͇̩̪e̡̙̯a̹̭̫͡s͏͖̙̼̫͓̱̳o҉̞̳̖n̲̼ ̼̫̤̲̳̗̕t҉͇o͇̥͓̺̕ ͙̻̻̘c͎͓̦͈̗͘o̫̰͍̮ͅn̪̖̜̬͕t̙͢i̲̯͠n̡̞̝̮̤ue̩̠͇̤̖̯ ͅu͚̥̖̕s͜i̙̞͕̩n̷̞̱̟̤͎̹g̷̭̗͕̪̹̠ ̼̻͓̖͓͖̀it̝̱͕͖̥͎͓͟ ̟͙̰̀h͚͎̣̬̫̯̗e̸̦̜̟̭̪̰r̹e̗̠̱̤̭̠.̲̀
References GH-11086.