Skip to content

Commit

Permalink
modify lambda to process "removed" action for installation_repositori…
Browse files Browse the repository at this point in the history
…es event
  • Loading branch information
svonworl committed Mar 25, 2024
1 parent d3c6fb0 commit 0d6fa07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upsertGitHubTag/deployment/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ function processEvent(event, callback) {
var githubEventType = requestBody["X-GitHub-Event"];
// Handle installation events
if (githubEventType === "installation_repositories") {
// The installation_repositories event contains information about both additions and removals
// The installation_repositories event contains information about both additions and removals.
console.log("Valid installation event");
path += "workflows/github/install";
postEndpoint(path, body, deliveryId, (response) => {
Expand Down

0 comments on commit 0d6fa07

Please sign in to comment.