-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 1.04 KB
/
github.yml
File metadata and controls
30 lines (27 loc) · 1.04 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
name: GitHub
permissions:
contents: read
on:
workflow_call:
concurrency:
group: github-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
enforce-label:
if: github.event_name != 'merge_group'
runs-on: ubuntu-latest
steps:
- uses: yogevbd/[email protected]
with:
REQUIRED_LABELS_ANY: "caching,ci,dependencies,docs,examples,fix,linting,maintenance,new feature,refactoring,tests"
REQUIRED_LABELS_ANY_DESCRIPTION: Assign at least one label [caching,ci,dependencies,docs,examples,fix,linting,maintenance,new feature,refactoring,tests] to this pull request
BANNED_LABELS: bug
BANNED_LABELS_DESCRIPTION: The 'bug' label should only be used on issues
check-conflicts:
if: github.event_name != 'merge_group'
runs-on: ubuntu-latest
steps:
- name: Check out a copy of the repository
uses: actions/checkout@v6
- name: Merge conflict finder
uses: olivernybroe/[email protected]