Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Replace fkirc/skip-duplicate-actions across the org

已关闭
#83 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@rtibbles 已经在做这个了。

开始于 2026年6月12日。

评估

这个 Issue 还没有评估数据。

描述

github_actions

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Overview

fkirc/skip-duplicate-actions is unmaintained, pinned to @master, and runs on Node 20, which GitHub removed from runners on 2026-09-16. Nine org repos use it to skip CI jobs when a PR's changed files don't touch what the job tests, while keeping required status checks green. This issue replaces it everywhere and settles on one gating pattern per case, so skipped required checks never hang as "Expected" and CI doesn't start runners it then skips.

Scope
  • Every workflow in the 9 repos that uses fkirc/skip-duplicate-actions, one sub-issue per repo.
  • Each workflow keeps its current path list; only the mechanism changes.
  • Excluded: fkirc's duplicate-run skipping and run cancellation. Workflows that need cancellation already use concurrency:.
Guidance
Strategy
  • Workflow with no required check: move its path list to native paths:/paths-ignore: on its triggers, and delete pre_job.
  • Workflow with no path list: delete pre_job and the needs/if that reference it.
  • Required check from a single non-matrix job: a dorny/paths-filter detect job plus a job-level if. The check name is unchanged.
  • Required check from a matrix job or step-level gating: job-level if plus one aggregator job (if: always(), fails when any needed job failed or was cancelled). The aggregator becomes the required check.
  • Each PR body lists the required checks to add to and remove from the ruleset. A maintainer edits the ruleset when merging.
Testing Requirements
  • Each migration PR links one run where the gated jobs ran and one where they were skipped with every required check green. A run on the contributor's fork is acceptable where the PR's own diff can't produce a skip.
  • actionlint passes on every changed workflow.
Acceptance Criteria
  • Org-wide code search for fkirc/skip-duplicate-actions returns no results.
  • Every ruleset change listed in the sub-issue PRs has been applied.

AI usage

I used Claude Code to survey every workflow using the action and each repo's required checks, and to propose options. I chose the approach, the gating rule and the per-repo split, and reviewed each section before filing.

主要语言
JavaScript
星标
1
派生
7
平均合并
1 天 2 小时
30 天内合并 PR
3

环境准备

从这里开始

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

learningequality/.github 的其他 Issue

查看 learningequality/.github 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

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