Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 835 Bytes

README.md

File metadata and controls

37 lines (27 loc) · 835 Bytes

Changelog Check Action

The "changelog-check" action is a composite action that can be used to validate the existence and format of changelog snippets.

Usage

Add the following workflow to .github/workflows/changelog.yml in your repository.

name: "Changelog Check"

on:
  pull_request:
    types:
      - "opened"
      - "synchronize"
      - "reopened"
      - "edited"

jobs:
  test:
    name: "Check"
    runs-on: "ubuntu-latest"

    steps:
      - uses: "Graylog2/actions/changelog-check@main"
        with:
          gh-token: "${{ secrets.GITHUB_TOKEN }}"

Configuration

Inputs

  • gh-token: A GitHub token that allows access to the REST API for the repository. (e.g., secrets.GITHUB_TOKEN)