Skip to content

Only run Bugzilla actions for projects using Bugzilla #272

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

Merged
merged 3 commits into from
May 27, 2021

Conversation

CyberShadow
Copy link
Member

Fixes #259.

We were already avoiding putting issue numbers in the welcome message for non-Bugzilla projects, but the same logic wasn't being used for deciding whether to run the Bugzilla integrations.

Use the same list of Bugzilla-using projects as when posting the
comment to decide whether to interact with Bugzilla.
@dlang-bot
Copy link
Collaborator

Thanks for your pull request, @CyberShadow!

@Geod24 Geod24 merged commit d8dcce8 into dlang:master May 27, 2021
CyberShadow added a commit to CyberShadow/dlang-bot that referenced this pull request May 27, 2021
Follow-up to dlang#272.

Apply the is-a-Bugzilla-using-project check to the code which parses
Bugzilla references and queries details for each from Bugzilla, too.

The test suite fallout is larger this time because we need to patch
the repo slug in the other-org tests, which means we can't reuse the
existing payloads (at least not without introducing a "read this other
payload, do a search&replace, and serve it instead" mechanism).
Geod24 pushed a commit that referenced this pull request May 28, 2021
Follow-up to #272.

Apply the is-a-Bugzilla-using-project check to the code which parses
Bugzilla references and queries details for each from Bugzilla, too.

The test suite fallout is larger this time because we need to patch
the repo slug in the other-org tests, which means we can't reuse the
existing payloads (at least not without introducing a "read this other
payload, do a search&replace, and serve it instead" mechanism).
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

Successfully merging this pull request may close these issues.

Query state of GitHub issues
3 participants