Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refusing to allow a Personal Access Token to create or update workflow .github/workflows/documentation.yml without workflow scope #31939

Closed
TalbotG opened this issue Dec 7, 2021 · 2 comments
Labels

Comments

@TalbotG
Copy link
Contributor

TalbotG commented Dec 7, 2021

! [remote rejected] master -> master (refusing to allow a Personal Access Token to create or update workflow .github/workflows/documentation.yml without workflow scope)

@TalbotG
Copy link
Contributor Author

TalbotG commented Dec 7, 2021

@web-platform-tests/wpt-core-team , @foolip , @web-platform-tests/admins , @stephenmcgruer , @Hexcles

I do not know how to overcome the following {message}.
I can not figure this out:

{
Total 0 (delta 0), réutilisés 0 (delta 0), réutilisés du pack 0
To https://github.com/TalbotG/web-platform-tests.git
! [remote rejected] master -> master (refusing to allow a Personal Access Token to create or update workflow .github/workflows/documentation.yml without workflow scope)
error: impossible de pousser des références vers 'https://github.com/TalbotG/web-platform-tests.git'
}

Last sentence translated is approx.:
"impossible to push references into 'https://github.com/TalbotG/web-platform-tests.git'"

I also did:

$ git config --global pull.rebase false

and this does not help.

I need assistance .

Gérard

@TalbotG
Copy link
Contributor Author

TalbotG commented Dec 18, 2021

Thanks to @fantasai , we were able to fix this problem.

How we fixed this (step by step)


1- We moved to the hidden directory .ssh:

$ cd ~/.ssh/

2- We generated a public and private key:

$ ssh-keygen -t ed25519 -C "your_email@example.com"

3- I pasted the public key into

https://github.com/settings/keys

4- $ git remote -v
$ git remote remove upstream
$ git remote add upstream git@github.com:web-platform-tests/wpt.git
$ git remote remove origin
$git remote add origin git@github.com:TalbotG/web-platform-tests.git

5- $ git push origin master succeeded

Again, thank you @fantasai for your needed assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant