git push 报错:refusing to allow a Personal Access Token to create or update workflow ...
报错:
[root@host8c openyurt]# git push -f origin yurtadm:yurtadm
Username for 'https://github.com': xxx@qq.com
Password for 'https://2352661414@qq.com@github.com':
Counting objects: 66, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (25/25), done.
Writing objects: 100% (38/38), 10.74 KiB | 0 bytes/s, done.
Total 38 (delta 18), reused 24 (delta 5)
remote: Resolving deltas: 100% (18/18), completed with 16 local objects.
To https://github.com/windydayc/openyurt.git
! [remote rejected] yurtadm -> yurtadm (refusing to allow a Personal Access Token to create or update workflow `.github/workflows/ci.yaml` without `workflow` sco
pe)
error: failed to push some refs to 'https://github.com/windydayc/openyurt.git'
原因:
当前密码输入的 Github Personal access tokens 没有相关权限。
解决方法:
新创建一个具有workflow权限的 Github Personal access tokens:
转载自:github - refusing to allow a Personal Access Token to create or update workflow - Stack Overflow
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
2021-07-21 Ubuntu18.04 屏蔽 ctrl + alt + 箭头 快捷键
2021-07-21 JetBrains安装安装插件时提示Plugin "Eclipse Keymap" was not installed: Cannot download 'https://plugins.jetbrains.com/pluginMana...
2018-07-21 C++ STL容器底层数据结构的实现
2018-07-21 C++异常处理
2018-07-21 C++实现单例模式