This action sets up orhun/git-cliff.
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
Refer to action.yaml.
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