Skip to content

kenji-miyake/setup-git-cliff

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

setup-git-cliff

This action sets up orhun/git-cliff.

Usage

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: Check out repository
        uses: actions/checkout@v3

      - name: Set up git-cliff
        uses: kenji-miyake/setup-git-cliff@v2

      - name: Run git-cliff
        run: |
          git cliff

Action inputs and outputs

Refer to action.yaml.

Skip authentication

By default, this action will use the ${{ github.token }} context variable to authenticate to GitHub.

This could result in a Bad credentials exception if the action is running on a self-hosted runner connected to a GitHub Enterprise Server instance.

To avoid this, you can explicitly set the token to null to perform an unauthenticated request:

- name: Set up git-cliff
  uses: kenji-miyake/setup-git-cliff@v2
  with:
    token: null