Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on GitHub Actions

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips and Traps

  1. You can use sudo without password in Linux and macOS when running GitHub Actions.

  2. GitHub Actions supports manual triggers with workflow_dispatch. Workflow parameters are supported in manually triggers …

Tips on GitHub

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

GitHub Subscriptions

Tips and Traps

  1. Have at least 2 branches master and dev. Reserve the master branch for releasing purpose and the dev banch for development. Protect the master branch on …

CICD Tools and Frameworks

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

earthly

Earthly is a versatile, approachable CI/CD framework that runs every pipeline inside containers, giving you repeatable builds that you write once and run anywhere. It has a super simple …

Tips on pre-commit

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

It is suggested that you leverage CICD tools (e.g., GitHub Actions) instead of Git Hooks which happens locally. However, Git hooks can be useful for simple and fast local code …