Skip to content

Commit b514db6

Browse files
committed
🌱 Add governance workflows and tooling conformance
Signed-off-by: Andrew Anderson <andy@clubanderson.com>
1 parent 6e0e4b3 commit b514db6

File tree

9 files changed

+85
-0
lines changed

9 files changed

+85
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Check Signed Commits
2+
on: pull_request_target
3+
4+
jobs:
5+
signed-commits:
6+
uses: llm-d/llm-d-infra/.github/workflows/reusable-signed-commits.yml@main
7+
permissions:
8+
contents: read
9+
pull-requests: write
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: Non-Main Gatekeeper
2+
on:
3+
pull_request:
4+
types: [opened, edited, synchronize, reopened]
5+
6+
jobs:
7+
gatekeeper:
8+
uses: llm-d/llm-d-infra/.github/workflows/reusable-non-main-gatekeeper.yml@main
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Prow Commands
2+
on:
3+
issue_comment:
4+
types: [created]
5+
6+
permissions:
7+
issues: write
8+
pull-requests: write
9+
10+
jobs:
11+
prow:
12+
uses: llm-d/llm-d-infra/.github/workflows/reusable-prow-commands.yml@main
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: Prow Auto-merge
2+
on:
3+
schedule:
4+
- cron: "*/5 * * * *"
5+
6+
jobs:
7+
auto-merge:
8+
uses: llm-d/llm-d-infra/.github/workflows/reusable-prow-automerge.yml@main
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: Prow Remove LGTM
2+
on: pull_request
3+
4+
jobs:
5+
remove-lgtm:
6+
uses: llm-d/llm-d-infra/.github/workflows/reusable-prow-remove-lgtm.yml@main
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Mark Stale Issues
2+
on:
3+
schedule:
4+
- cron: '0 1 * * *'
5+
6+
jobs:
7+
stale:
8+
uses: llm-d/llm-d-infra/.github/workflows/reusable-stale.yml@main
9+
permissions:
10+
issues: write
11+
pull-requests: write
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Unstale Issues
2+
on:
3+
issues:
4+
types: [reopened]
5+
issue_comment:
6+
types: [created]
7+
8+
jobs:
9+
unstale:
10+
uses: llm-d/llm-d-infra/.github/workflows/reusable-unstale.yml@main
11+
permissions:
12+
issues: write

‎.pre-commit-config.yaml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
repos:
2+
# general pre-commit hooks
3+
- repo: https://github.com/pre-commit/pre-commit-hooks
4+
rev: v6.0.0
5+
hooks:
6+
- id: trailing-whitespace
7+
- id: end-of-file-fixer
8+
- id: check-yaml
9+
args: [--unsafe] # allows custom YAML tags used in k8s
10+
- id: check-json
11+
- id: check-added-large-files
12+
args: [--maxkb=1000]
13+
- id: check-merge-conflict
14+
- id: mixed-line-ending
15+
- id: check-case-conflict

‎OWNERS‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
approvers:
2+
- chcost
3+
- robertgshaw2-redhat
4+
- smarterclayton

0 commit comments

Comments
 (0)