infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Takamori (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (INFRA-14229) Setup Github settings for all OpenWhisk repos squash button and protected branch
Date Wed, 07 Jun 2017 20:00:20 GMT

     [ https://issues.apache.org/jira/browse/INFRA-14229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Takamori updated INFRA-14229:
------------------------------------
    Status: Waiting for user  (was: Waiting for Infra)

> Setup Github settings for all OpenWhisk repos squash button and protected branch
> --------------------------------------------------------------------------------
>
>                 Key: INFRA-14229
>                 URL: https://issues.apache.org/jira/browse/INFRA-14229
>             Project: Infrastructure
>          Issue Type: Task
>          Components: Github
>            Reporter: Carlos Santana
>            Assignee: Daniel Takamori
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> We are having major problems merging PRs in our repos.
> We need INFRA help to go over all our openwhisk github repos and set them up the same
way for all (31 repos :-) )
> https://github.com/apache?q=openwhisk
> It would be useful to have a script to automate this.
> There are two parts of configuration that we need:
> 1. Merge Buttons
> Picture here: https://www.evernote.com/l/ACKKqQgQ3jdH-oU5xP0TAFg2HGOyU3Nnb9U
> In "Options"
> Uncheck "Allow merge commits" 
> Check "Allow squash merging"
> Check "Allow rebase merging"
> 2. Protected master branch, uncheck require branches to be up to date before merging
> Picture here; https://www.evernote.com/l/ACLutEKymVlJIpSl55SkBecX67oOt2aEDmU
> The github repo needs to be configure with protected branch for master. 
> But the settings for the protected should be as follow 
> - Check "Protect this branch" 
> - Check "Require pull request reviews before merging" 
>     - UnCheck "Dismiss stale pull requests approvals..." 
>     - UnCheck "Restrict who can dismiss pull requests reviews" 
> - Check "Require status checks to pass before merging" 
>     - UnCheck "Require branches to be up to date before merging" 
> - UnCheck "Restrict who can push to this branch" 
> - UnCheck "Include administrators" 
> Let me know if I can help, you can make me admin of my team for a short amount of time
and I will do it.
> -- Carlos



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message