Skip to content
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

webhooks: stale hook was not cleaned up #166

Open
alejandromumo opened this issue May 10, 2024 · 0 comments
Open

webhooks: stale hook was not cleaned up #166

alejandromumo opened this issue May 10, 2024 · 0 comments

Comments

@alejandromumo
Copy link
Member

alejandromumo commented May 10, 2024

Description
We have identified a potential issue with the management of webhooks for a repository. Upon investigation on Zenodo, we discovered that the repository currently has two active webhooks directed to Zenodo: one created in 2018 and another in 2024.

Problem
Whenever a new release is received, it consistently utilizes the older webhook, which has invalid credentials. Consequently, the releases fail consistently due to this mismatch.

We

Objective
We aim to investigate whether this occurrence is consistent or if it was a one-time incident.

Steps to Reproduce

  1. Have a repository jointly owned by two users (user A and user B).
  2. Enable the repository with user A on Zenodo.
  3. Verify the webhook created on Github.
  4. Disable the repository.
  5. Enable the repository with user B on Zenodo.
  6. Verify the webhook created on Github.

Expected Outcome
If there are indeed two webhooks present in the repository, it indicates an issue with the cleanup process of webhooks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant