paketo-buildpacks / github-config

Common repository configuration
Apache License 2.0
7 stars 12 forks source link

Github config

This repository contains config files common to implementation and language-family CNBs.

Rules

Run scripts/sanity.sh to see if the changes you made to this repo are valid.

Run scripts/repo_rules.sh to see if your paketo cnb github repo has recommended settings.

How do I consume this common config

If you just wrote a new CNB, run bootstrap.sh as follows:

# type is either "implementation", "language-family", or "builder"
./scripts/bootstrap.sh --target <path/to/your/cnb> --repo-type <type>

This will copy the relevant config files to your CNB. Git commit and Push your CNB.

Now, to wire up your CNB repo to receive relevant updates as a pull requests:

Submit your change to this repo as a PR. You should be all set when the PR is merged.