GitHub. Не получается отправить изменения.
От: Коваленко Дмитрий Россия http://www.ibprovider.com
Дата: 24.11.20 21:08
Оценка:
Клон репозитория EnityFrameworkCode — https://github.com/dmitry-lipetsk/EntityFrameworkCore

Сделал ветку. Закоммитил её локально.

Пытаюсь отправить в свой репозиторий на GitHub.

  SourceTree выдает такую ошибку

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --set-upstream origin Issue23027_ColumnModificationFactory:Issue23027_ColumnModificationFactory
POST git-receive-pack (7250 bytes)
Pushing to https://github.com/dmitry-lipetsk/EntityFrameworkCore.git
To https://github.com/dmitry-lipetsk/EntityFrameworkCore.git
! [remote rejected] Issue23027_ColumnModificationFactory -> Issue23027_ColumnModificationFactory (refusing to allow an OAuth App to create or update workflow `.github/workflows/TestCosmos.yaml` without `workflow` scope)
error: failed to push some refs to 'https://github.com/dmitry-lipetsk/EntityFrameworkCore.git'


При этом сам SourceTree на GitHub вроде авторизирован.

  Содержимое .github/workflows/TestCosmos.yaml

name: Test Cosmos

on:
pull_request:
branches:
— main
— feature/*
— release/*

jobs:
build:
runs-on: windows-latest

steps:
— name: Start Cosmos Emulator
run: |
Import-Module "$env:ProgramFiles\Azure Cosmos DB Emulator\PSModules\Microsoft.Azure.CosmosDB.Emulator"
Start-CosmosDbEmulator

— name: Checkout
uses: actions/checkout@v2

— name: Restore
run: restore.cmd
shell: cmd

— name: Test on Cosmos
run: .dotnet\dotnet test test\EFCore.Cosmos.FunctionalTests


Локально я эту хрень (Azure Cosmos DB Emulator) поставил — не помогло.

Наверное надо копать в строну "refusing to allow an OAuth App".

Но не могу понять куда этот токен можно указать (я нашел где его генерировать — Settings/Developer settings/personal access token).

  Из Visual Studio (2019 текущий Preview) тоже не получается отправить изменения на GitHub

Pushing Issue23027_ColumnModificationFactory
Enumerating objects: 58, done.
Delta compression using up to 20 threads
Total 32 (delta 28), reused 0 (delta 0), pack-reused 0
POST git-receive-pack (7244 bytes)
Pushing to https://github.com/dmitry-lipetsk/EntityFrameworkCore.git
To https://github.com/dmitry-lipetsk/EntityFrameworkCore.git
failed to push some refs to 'https://github.com/dmitry-lipetsk/EntityFrameworkCore.git'

Error encountered while pushing branch to the remote repository: Failed to push to the remote repository. See the Output window for more details.


Может кто подскажет — куда копать-то?
-- Пользователи не приняли программу. Всех пришлось уничтожить. --
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.