Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 930 Bytes

README.md

File metadata and controls

40 lines (28 loc) · 930 Bytes

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