Refactor markdown and layout rendering by decoupling from GlobalLayoutViewModel. Streamline layout handling, enhance navigation item visibility logic, and rework documentation file structures for improved maintainability.
#3092
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: required-labels | |
| on: | |
| pull_request_target: | |
| types: | |
| - opened | |
| - labeled | |
| - unlabeled | |
| - synchronize | |
| permissions: | |
| contents: read | |
| jobs: | |
| check-labels: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - id: get-labels | |
| run: | | |
| labels=$(yq '[.categories[].labels] + .exclude-labels | flatten | unique | sort | @tsv' .github/release-drafter.yml | tr '\t' ',') | |
| echo "labels=$labels" >> "${GITHUB_OUTPUT}" | |
| - id: check-labels | |
| uses: mheap/github-action-required-labels@388fd6af37b34cdfe5a23b37060e763217e58b03 # v5.5 | |
| with: | |
| mode: exactly | |
| count: 1 | |
| use_regex: false | |
| add_comment: true | |
| labels: ${{ steps.get-labels.outputs.labels }} |