Skip to content

[Housekeeping] Use Labelicious #821

[Housekeeping] Use Labelicious

[Housekeeping] Use Labelicious #821

Workflow file for this run

name: Verify Documentation
on:
pull_request:
types: [ synchronize, opened, reopened, labeled, unlabeled ]
jobs:
check_docs:
if: ${{ contains(github.event.pull_request.labels.*.name, 'release :tada:') }}
name: Check
runs-on: ubuntu-latest
permissions:
actions: read
strategy:
matrix:
file: [ 'website/docs/changelog.md','README.md' ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Major
if: ${{ contains(github.event.*.labels.*.name, 'major :1st_place_medal:') }}
run: make verify-doc BUMP=major FILE=${{ matrix.file }}
- name: Minor
if: ${{ contains(github.event.*.labels.*.name, 'minor :2nd_place_medal:') }}
run: make verify-doc BUMP=minor FILE=${{ matrix.file }}
- name: Patch
if: ${{ contains(github.event.*.labels.*.name, 'patch :3rd_place_medal:') }}
run: make verify-doc BUMP=patch FILE=${{ matrix.file }}