Skip to content

Return protection on master branch back #699

@yarikoptic

Description

@yarikoptic

I am disabling it for now to facilitate bringing back auto-releasing

ℹ  info      Pushing new tag to GitHub
remote: error: GH006: Protected branch update failed for refs/heads/master.        
remote: 
remote: - Changes must be made through a pull request.        
To https://github.com/ReproNim/neurodocker
 * [new tag]         2.1.0 -> 2.1.0
 ! [remote rejected] master -> master (protected branch hook declined)
error: failed to push some refs to 'https://github.com/ReproNim/neurodocker'
Error: Running command 'git' with args [push, --follow-tags, --set-upstream, https://****CWfQ@github.com/ReproNim/neurodocker, master] failed

remote: error: GH006: Protected branch update failed for refs/heads/master.        
remote: 
remote: - Changes must be made through a pull request.        
To https://github.com/ReproNim/neurodocker
 * [new tag]         2.1.0 -> 2.1.0
 ! [remote rejected] master -> master (protected branch hook declined)
error: failed to push some refs to 'https://github.com/ReproNim/neurodocker'

    at ChildProcess.<anonymous> (/snapshot/auto/packages/core/src/utils/exec-promise.ts:76:23)
    at ChildProcess.emit (node:events:527:28)
    at ChildProcess.emit (node:domain:475:12)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)Error
    at Object.execPromise (/snapshot/auto/packages/core/src/utils/exec-promise.ts:17:20)
    at /snapshot/auto/plugins/git-tag/dist/index.js:85:26
    at eval (eval at create (/snapshot/auto/node_modules/tapable/lib/HookCodeFactory.js:75:10), <anonymous>:16:17)
    at new Promise (<anonymous>)
    at Hook.eval [as promise] (eval at create (/snapshot/auto/node_modules/tapable/lib/HookCodeFactory.js:75:10), <anonymous>:6:8)
    at Hook.PROMISE_DELEGATE [as _promise] (/snapshot/auto/node_modules/tapable/lib/Hook.js:22:14)
    at Auto.publishFullRelease (/snapshot/auto/packages/core/src/auto.ts:1803:32)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Auto.shipit (/snapshot/auto/packages/core/src/auto.ts:1664:21)
    at async execute (/snapshot/auto/packages/cli/dist/run.js:71:17)
Error: Process completed with exit code 1.

can consult dandi-cli setup on how we did it , and @CodyCBakerPhD who loves protecting his masters!

I see only

Image

ATM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions