Visitar URL original
Use verifyWithFallback to support secret rotation by bismip · Pull Request #1080 · octokit/webhooks.js · GitHub
Skip to content

Use verifyWithFallback to support secret rotation - #1080

Merged
wolfy1339 merged 3 commits into
octokit:mainfrom
bismip:main
Jan 31, 2025
Merged

wolfy1339 merged 3 commits into
octokit:mainfrom
bismip:main

Conversation

@bismip

@bismip bismip commented Nov 29, 2024

Copy link
Copy Markdown
Contributor

Resolves #770


Before the change?

Only one secret is supported

After the change?

Multiple fallback secrets are supported

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

@github-actions

Copy link
Copy Markdown
Contributor

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

@wolfy1339 wolfy1339 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a little style convention, otherwise it looks good

Comment thread src/index.ts Resolved
Comment thread src/types.ts Resolved
@bismip

bismip commented Jan 31, 2025

Copy link
Copy Markdown
Contributor Author

@wolfy1339 Thank you, fixed

wolfy1339
wolfy1339 previously approved these changes Jan 31, 2025
@wolfy1339
wolfy1339 enabled auto-merge (squash) January 31, 2025 14:02
@wolfy1339
wolfy1339 disabled auto-merge January 31, 2025 14:02
@wolfy1339
wolfy1339 enabled auto-merge (squash) January 31, 2025 14:02
auto-merge was automatically disabled January 31, 2025 14:10

Head branch was pushed to by a user without write access

@bismip

bismip commented Jan 31, 2025

Copy link
Copy Markdown
Contributor Author

@wolfy1339 I trusted your suggestions 😆 Added the missing semicolon, should pass now.

@wolfy1339
wolfy1339 enabled auto-merge (squash) January 31, 2025 14:13
@wolfy1339
wolfy1339 disabled auto-merge January 31, 2025 14:13
@wolfy1339
wolfy1339 enabled auto-merge (squash) January 31, 2025 14:13
@wolfy1339
wolfy1339 merged commit 8a9682d into octokit:main Jan 31, 2025
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 13.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT]: Facilitate webhook secret rotation

2 participants