github / github/platform-samples
Pre recieve hook block credentials error
未關閉
- 主要語言
- Shell
- 星號
- 2.2k
- 分支
- 1.9k
- 平均合併
- 7 天 19 小時
- 30 天內合併 PR
- 1
描述
After upgrade to 2.20 on GHES, block credentials script throws error when deleting tags on remote server from a local client.
```
git push origin :refs/tags/new
remote: fatal: Invalid revision range 3b5bec62228f296578699964da63b73025357a6b..0000000000000000000000000000000000000000
```
貢獻指南
研究方向
找出阻擋憑證的 pre-receive hook,並在所述的 GHES 版本上使用 `git push origin :refs/tags/new` 重現此失敗。完成的標準是刪除遠端標籤不再引發無效修訂範圍錯誤,同時憑證阻擋功能持續正常運作。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- shell
- 領域
- devops, security
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100