Skip to content

Hook checking GitHub issue linking #3

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

Open
AFulgens opened this issue Mar 4, 2024 · 0 comments
Open

Hook checking GitHub issue linking #3

AFulgens opened this issue Mar 4, 2024 · 0 comments
Labels
new hook Introducing new hook

Comments

@AFulgens
Copy link
Contributor

AFulgens commented Mar 4, 2024

Context

commiticketing prefixes commits on ephemeral branches based on the branchname. It would be nice to have an additonal hook checking whether the issue referenced in the branchname (and thus in commit messages) is still open.

Idea

Create a hook that does a callout to the repository's issue tracking on GitHub and checks the status of the issue, if it's Closed, it rejects the commit.

@AFulgens AFulgens added the enhancement New feature or request label Mar 4, 2024
@AFulgens AFulgens added new hook Introducing new hook and removed enhancement New feature or request labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new hook Introducing new hook
Projects
Status: Backlog
Development

No branches or pull requests

1 participant