Code Monkey home page Code Monkey logo

github-mgmt's People

Contributors

2color avatar achingbrain avatar aschmahmann avatar biglep avatar cewood avatar darobin avatar elpaisano avatar galargh avatar github-actions[bot] avatar guillaumemichel avatar hacdias avatar ipfs-mgmt-read-write[bot] avatar jorropo avatar laurentsenta avatar lidel avatar masih avatar reidlw avatar rvagg avatar salmad3 avatar sgtpooki avatar stebalien avatar tinytb avatar torfinnolsen avatar web-flow avatar wemeetagain avatar whizzzkid avatar willscott avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

github-mgmt's Issues

permissions for protected main branch.

I'm trying to merge an approved PR in the specs repo, but do not appear to have permissions to do so: ipfs/specs#312

It is not clear to me what i should be proposing to change with the permissions definition here to fix that:
https://github.com/ipfs/github-mgmt/blob/master/github/ipfs.yml#L4139-L4165

  • - Specs Stewards get push access, as do I, which i think is enough to make the PR
  • the branch protection is just that it is protected:
branch_protection:
      main: {}

the github docs I can find just say: "By default, each branch protection rule disables force pushes to the matching branches and prevents the matching branches from being deleted." which does imply why an approved PR can't be merged.

I can't see settings on the repo so don't know if settings for what the branch protection is structured as match or are more restrictive than what's listed in this repo.

Feat: Add shared danger file to ipfs repos

Context: In awesome-ipfs, I added https://github.com/ipfs/awesome-ipfs/blob/master/dangerfile.js which can help to block and give more information in a comment on PRs. I talked with @lidel about this and we agreed that this would be a good addition to many of our repos.

Danger currently only has official runners for JS, ruby, swift, python, and kotlin, but there is the possibility to create a danger-runner in any language (Go, Rust, etc..): https://danger.systems/js/usage/danger-process.html
The ask for this issue is that we come up with a base file that would work for multiple repos to use as a default. Some default rules we could use are:

  1. Warning on large PRs (over X lines changed)
  2. Fail when src/ is modified without test/ modified
  3. Display lint/test failures
  4. Display code coverage changes (This should probably be done via codecov)

And there are other examples and plugins listed at https://danger.systems/js/


A few issues I could see with implementing this in github-mgmt:

  1. Accidentally overwriting a customized danger file
  2. Setting rules that are too strict for some repos

So I guess the main goal here is to make it easy for ipfs repos to get a danger file that works, and then be allowed to modify it for their needs as appropriate.

Add "chore:" prefix and "[skip ci]" suffix to commit messages

Auto-merged commits like this one create releases in repos that release with every change to master (e.g. most JS repos).

Please can they have [skip ci] added to the end of their commit messages so that CI is skipped and releases are not created.

Also, adding chore: to the beginning of the message will ensure an appropriate entry is added to the changelog, where changelogs are generated.

Label support

I see

export async function addLabelToAllRepos(
label: string,
color: string,
description: string,
repositoryFilter: (repository: Repository) => boolean = () => true
): Promise<void> {
but I don't see that it's used anywhere.

I also couldn't find label support in this repo at all. Is there a list of labels that we add to all repos and how do I propose adding a label to that list?

Describe the process for new access requests

I think to begin with it could be as simple as a concrete set of instructions in the ISSUE_TEMPLATE.

Things I was wondering about:

  • should we ask submitters to mention their PL managers (if applicable)
  • could we extract "owners" out of the modified resources

Might be related: give org members ability to ask for reviews - #33

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.