frequenz-microgrid 0.2.2

A high-level interface to the Frequenz Microgrid API.
Documentation
name: Release Notes Check

on:
  merge_group:
  pull_request:
    types:
      # On by default if you specify no types.
      - "opened"
      - "reopened"
      - "synchronize"
      # For `skip-label` only.
      - "labeled"
      - "unlabeled"


jobs:
  check-release-notes:
    name: Check release notes are updated
    runs-on: ubuntu-latest
    steps:
      - name: Check for a release notes update
        if: github.event_name == 'pull_request'
        uses: brettcannon/check-for-changed-files@871d7b8b5917a4f6f06662e2262e8ffc51dff6d1 # v1.2.1
        with:
          file-pattern: "RELEASE_NOTES.md"
          prereq-pattern: "{proto,py}/**"
          skip-label: "cmd:skip-release-notes"
          failure-message: "Missing a release notes update. Please add one or apply the ${skip-label} label to the pull request"