What The Commit is a github action I created and it can be used in any github repository. I currently use it in the same repo I used to create the action. It changes the commit in the code and replaces it with a commit message from http://whatthecommit.com/
To use the action, Add a workflow file to your project (e.g.
.github/workflows/commit.yml) with this:
name: Prettify Commit on: push: branches: - main - master pull_request: branches: - main - master jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Use Node.js uses: actions/setup-node@v1 with: node-version: '12.x' - name: Prettify Commit uses: dephraiim/whatthecommit-action@v1
Check out http://whatthecommit.com for the commit messages.
This action changes the commit messages which can create conflicts especially for repos with a lot of contributors.
Projects Using the Action.