Git提交时报错:(refusing to allow a Personal Access Token to create or update workflow `.github/workflows/

Posted 柳鲲鹏

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Git提交时报错:(refusing to allow a Personal Access Token to create or update workflow `.github/workflows/相关的知识,希望对你有一定的参考价值。

  • 具体错误
To https://github.com/quantum6/jdk8u-tsit
 ! [remote rejected]       quantum6 -> quantum6 (refusing to allow a Personal Access Token to create or update workflow `.github/workflows/submit.yml` without `workflow` scope)
error: failed to push some refs to 'https://github.com/quantum6/jdk8u-tsit'
  • 错误原因:

Token没有workflow权限。

  • 解决办法1:修改Token

https://blog.csdn.net/quantum7/article/details/128964619​​​​​​​

  • 解决办法2:新建Token

Sign in to GitHub · GitHub

以上是关于Git提交时报错:(refusing to allow a Personal Access Token to create or update workflow `.github/workflows/的主要内容,如果未能解决你的问题,请参考以下文章

Git提交时报错:(refusing to allow a Personal Access Token to create or update workflow `.github/workflows/

git学习解决git提交代码时报错: Unable to create ‘XXX/.git/index.lock‘: File exists.

git在提交时报错error invalid path cannot add to the index的解决办法

Git报错-refusing to merge unrelated histories

git学习解决git提交代码时报错: Unable to create ‘XXX/.git/index.lock‘: File exists.

Redis连接时报错:Could not connect to Redis at 127.0.0.1:6379: Connection refused