InnerSourceCommons / InnerSourceCommons/InnerSourcePatterns

Markdownlint Action is running twice

未关闭
#267 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

:gear: Type - Meta
主要语言
HTML
星标
853
派生
206
平均合并
1 天 23 小时
30 天内合并 PR
2

描述

I noticed that the markdownlint GitHub Action that we have is running twice on the same PR.
It is mostly a cosmetic problem and it also might be a bit confusing for people.

I know that we could prevent it by limiting the action workflow execution to pushes to master like in this GHA configuration. However that seems to have other undesirable consequences.

I wonder if there is some way to do this?

Example:

See the bottom of https://github.com/InnerSourceCommons/InnerSourcePatterns/pull/261/

Screenshot:

markdownlint-running-twice

贡献指南

打开贡献指南

从这里开始

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

调研方向

检查 GitHub Actions 的 workflow 配置,并将其与链接的 .github/workflows/lint-patterns.yml 示例进行比较,然后查看 pull request #261 中显示的重复运行。完成标准是 markdownlint 每个 pull request 运行一次,同时不丢失 pushes 时所需的 workflow 行为。

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

评估

技术栈
github-actions, markdown
领域
ci-cd
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
32/100

把新 issue 发到你的邮箱

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