-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (36 loc) · 1.11 KB
/
pr-enforce-label-group.yml
File metadata and controls
40 lines (36 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Ensures all the relevant groups of labels are applied to a PR.
name: Enforce All PR Labels
on:
workflow_call:
secrets:
github-token:
required: true
description: A GitHub personal access token with write access to the project
jobs:
calver:
name: Calendar Versioning Labels
runs-on: ubuntu-latest
steps:
- uses: localstack/meta/.github/workflows/pr-enforce-pr-labels.yml@main
with:
labels: "calver: patch, calver: monthly, calver: breaking"
secrets:
github-token: ${{ secrets.github-token }}
docs:
name: Documentation Labels
runs-on: ubuntu-latest
steps:
- uses: localstack/meta/.github/workflows/pr-enforce-pr-labels.yml@main
with:
labels: "docs: needed, docs: skip"
secrets:
github-token: ${{ secrets.github-token }}
notes:
name: Notes Labels
runs-on: ubuntu-latest
steps:
- uses: localstack/meta/.github/workflows/pr-enforce-pr-labels.yml@main
with:
labels: "notes: needed, notes: skip"
secrets:
github-token: ${{ secrets.github-token }}