ER: Ensure 'reopened' PRs get checked for properly linked issues

未关闭 适合新手
#8,870 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
76/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
github-actions, yaml
领域
ci-cd

调研方向

阅读 .github/workflows/pull-request-trigger.yml 和链接的 GitHub Actions 文档。将 reopened 添加到 pull_request 活动类型中,然后验证重新打开 pull request 会触发 workflow,并检查其描述中是否包含关联的 issue。该 issue 还链接了有关设置个人环境的测试指南。

由索引模型根据 Issue 内容生成。

描述

Complexity: Small ER Feature: Refactor GHA Issue Making: Level 2 ready for merge team role: back end/devOps size: 0.25pt
Emergent Requirement - Problem

We should add "reopened" to the types of events on PRS that trigger the pull-request-trigger.yml‎ Github Action. Currently, that Github Action, which checks PR descriptions for keywords and linked issue numbers, is only triggered on "opened" and "edited" events.

Issue you discovered this emergent requirement in
  • #8815
Date discovered

10-24-2026

Did you have to do something temporarily
  • YES
  • NO
Who was involved

@castillios
@daras-cu

What happens if this is not addressed

If a closed PR that is not properly formatted with a linked issue is reopened, it will not be checked by this Github Action and the PR will not get a comment nudging the author to properly link their issue.

Resources
Recommended Action Items
  • Make a new issue
  • Discuss with team
  • Let a Team Lead know
Potential solutions [draft]

Issue:

  • Complexity: Small (While the suggested change here only requires changing one line of code, I gave it the Complexity: Small label because it requires testing GitHub Actions.)
  • Relationships: None
  • Size: 0.25pt
  • Fix:
    in ~/.github/workflows/pull-request-trigger.yml (line 2-4), change:
on:
  pull_request:
    types: [opened, edited]

... to:

on:
  pull_request:
    types: [opened, edited, reopened]
主要语言
JavaScript
星标
365
派生
872
平均合并
8 天 19 小时
30 天内合并 PR
2

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

hackforla/website 的其他 Issue

查看 hackforla/website 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。