processing/p5.js

Auto-link / Close Issues for 2.0 PRs (p5.js & p5.js-website)

Open

#7,975 创建于 2025年7月17日

在 GitHub 查看
 (7 评论) (3 反应) (0 负责人)JavaScript (3,178 fork)batch import
DevOpsFeature RequestHelp Wanted

仓库指标

Star
 (20,784 star)
PR 合并指标
 (平均合并 9天 8小时) (30 天内合并 56 个 PR)

描述

Increasing access

GitHub’s auto‑link / auto‑close keywords (Resolves #123, Fixes #123, etc.) only work when a PR targets the default branch (main). For PRs into dev-2.0, the keywords are ignored. Example: p5.js PR #7971 included Resolves #7905 but the issue was not linked or closed. Same problem in p5.js-website PRs to 2.0 branch.

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)

Feature request details

Add a GitHub Action (workflow) that runs when a PR into dev-2.0 is merged in p5.js. (similar in p5.js-website with 2.0 branch) It should:

  1. Parse the PR body for Resolves #issue-number.
  2. Link the issue to that PR.
  3. Close issues immediately when merged. (I think this step will be done by github after linking).

This action should be included in both the repo, i.e. p5.js and p5.js-website

贡献者指南