kenji-miyake / setup-git-cliff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:Apache License 2.0


Languages

Language:TypeScript 100.0%