Skip to content

release: 2024-01-09 #2796

release: 2024-01-09

release: 2024-01-09 #2796

Workflow file for this run

---
name: PR Labels
on:
pull_request:
types: [opened, labeled, unlabeled, synchronize, reopened, edited]
jobs:
pr_labels:
name: 🏭 Verify labels
runs-on: ubuntu-latest
steps:
- name: 🏷 Verify PR has a valid label
uses: mheap/github-action-required-labels@4e9ef4ce8c697cf55716ecbf7f13a3d9e0b6ac6a # v5
with:
labels: 'breaking-change, bugfix, documentation, enhancement, refactor, performance, new-feature, maintenance, ci, dependencies, translations, changelog-ignore'
mode: minimum
count: 1
pr_wip_check:
runs-on: ubuntu-latest
name: 🏭 Check for blocking labels
steps:
- name: 🏷 Check PR for a merge-blocking label
uses: tim-actions/wip-check@8c84f5987215d49440b86475062d61e4f099e1b7 # main branch
with:
labels: '["do-not-merge", "wip", "rfc", "blocked"]'
keywords: '["WIP", "wip", "RFC", "rfc"]'
pr_monorepo_label:
name: 🏭 Label PR With Repo(s)
runs-on: ubuntu-latest
if: contains(fromJson('["main", "l10_*"]'), github.base_ref) != true
steps:
- name: 🏷 Apply repo labels
uses: tinkurlab/monorepo-pr-labeler-action@290105bf438d979f86a9a2b1d20a080098c26edc # 4.1.5
env:
GITHUB_TOKEN: ${{ secrets.GH_ACT_PAT }}
BASE_DIRS: 'apps|packages'
with:
prefix: '📦'
separator: ' '