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

Fix unbroken checks for npmjs.com URLs hitting 403

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

首先定位此仓库中用于检查 npmjs.com URL 的未损坏配置或 CI 入口点。从 GitHub CI 或 Microsoft 的网络环境中复现 403 行为,然后确定检查应如何处理这些误报。当文档检查不再因受影响的 npmjs.com URL 而阻塞时,即表示完成。

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

描述

When queried npmjs.com URLs are queried from GitHub CI machines or from Microsoft's network (perhaps behind its proxies) fail with 403 Forbidden Request. Trying to add enough headers don't help too

$ curl -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" \
  -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8" \
  -H "Accept-Language: en-US,en;q=0.9" \
  -H "Accept-Encoding: gzip, deflate, br" \
  --compressed \
  -L \
  -I \
  https://www.npmjs.com/

HTTP/2 403

These URLs are deemed broken by unbroken, thereby leading to documentation fixing PRs getting blocked due to these false positives.

主要语言
C#
星标
544
派生
218
平均合并
4 小时 28 分钟
30 天内合并 PR
2

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

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

microsoft/react-native-windows-samples 的其他 Issue

查看 microsoft/react-native-windows-samples 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

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