Skip to content

Require an assigned issue before accepting new-example PRs - #316

Merged
bilgeyucel merged 2 commits into
mainfrom
require-issue-before-pr
Oct 8, 2026
Merged

bilgeyucel merged 2 commits into
mainfrom
require-issue-before-pr

Conversation

@kacperlukawski

@kacperlukawski kacperlukawski commented Sep 16, 2026 •

Copy link
Copy Markdown
Member

Summary

  • New cookbook examples now require an issue (via a structured template) filed and assigned by a maintainer before a PR is accepted β€” closes the door on drive-by PRs that promote a third-party tool rather than a Haystack use case.
  • A pull_request_target workflow auto-closes PRs that don't reference an issue (Closes #N) assigned to the PR's author.
  • Added CONTRIBUTING.md, PR template, issue template (+ disabled blank issues), and updated the README's contributing section to point at the new process.
  • Added AGENTS.md so AI coding agents follow the same process and repo conventions (notebook naming, index.toml registration, verify_index.py) before generating a PR.

Test plan

  • Open a test PR without a linked issue against a fork/branch and confirm the workflow comments + closes it.
  • Open a test PR with Closes #<issue> where the issue isn't assigned to the author and confirm it's rejected.
  • Open a test PR with Closes #<issue> where the issue is assigned to the author and confirm it passes.
  • Confirm the new issue template renders correctly and blank issues are disabled.

πŸ€– Generated with Claude Code

kacperlukawski and others added 2 commits September 16, 2026 17:07
Drive-by PRs pitching third-party tools rather than Haystack use cases
have been getting through since the process was just "open a PR".
Now contributors must file an issue via a structured template, get it
assigned by a maintainer, and reference it in their PR; a workflow
auto-closes PRs that skip this.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Points agents at the issue-first contribution process and the
notebook/index.toml conventions before they generate a PR.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@bilgeyucel
bilgeyucel merged commit 077b7d4 into main Oct 8, 2026
@bilgeyucel
bilgeyucel deleted the require-issue-before-pr branch October 8, 2026 10:35
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

Hi @kacperlukawski β€” new examples must start as an issue before a PR is opened. Please open an issue with the new example template, get it assigned to you by a maintainer, then reopen this PR with Closes #<issue> in the description. See CONTRIBUTING.md.

@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

Hi @kacperlukawski β€” new examples must start as an issue before a PR is opened. Please open an issue with the new example template, get it assigned to you by a maintainer, then reopen this PR with Closes #<issue> in the description. See CONTRIBUTING.md.

1 similar comment
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

Hi @kacperlukawski β€” new examples must start as an issue before a PR is opened. Please open an issue with the new example template, get it assigned to you by a maintainer, then reopen this PR with Closes #<issue> in the description. See CONTRIBUTING.md.

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.

2 participants