Code Monkey home page Code Monkey logo

cdk-repository-template's Introduction

Archived

Archived this repository as we are going to use the custom projen project type to handle default setup of cdk projects.

Template repository for Gemeente Nijmegen cdk projects

After completing the instructions in this REAMDE replace the file with a project relevant readme.

Getting started

This repository can be used as a Github template to start new cdk projects for Gemeente Nijmegen.

1. Setup workflow configuration

It is important to configure a personal access token as a Github workflow secret.

  • Create a new personal access token under your account settings
    • Settings > Developer settings > Perosnal access tokens
    • Allow all repo rights and allow workflow rights
  • Copy the personal access code
  • Create a workflow secret in the repository called PROJEN_GITHUB_TOKEN and paste your personal access token in there.

Note: this can be dangerous as everybody with write access to the repository can now acces your personal access token. (A PR from a fork will not have acces to the workflow secrets.)

2. Branch protection

Github does not include branch protection configuration while using a repository as a template.

Recommended branch protection:

  • Branch production
    • Require a pull request before merging
      • Require approvals
    • Require status checks to pass before merging
      • build (workflow)
      • pull-request-lint (workflow)
    • Include administrators

3. First release

Current releases are v0.*. For a first release to do a major version bump increase the major version in .projenrc from 0 to 1.

cdk-repository-template's People

Contributors

marnixdessing avatar bramwithaar avatar

Watchers

Martijn van Dijk avatar

Forkers

bramwithaar

cdk-repository-template's Issues

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.