Skip to content

Commit 51e242e

Browse files
clubandersonclaude
andcommitted
🌱 Standardize governance workflows, pre-commit, and remove legacy CI
- Add dependabot.yml for automated dependency updates - Add pre-commit config with trailing-whitespace, end-of-file-fixer, check-yaml, check-json, shellcheck, hadolint, markdownlint, yamllint - Add markdownlint and yamllint configs with relaxed rules for existing code - Install hadolint in CI workflow for Dockerfile linting - Add agentic workflows: link-checker, typo-checker, upstream-monitor - Add copilot-setup-steps and actions-lock for agentic workflow support - Add docs/upstream-versions.md for dependency tracking - Remove legacy crate-ci/typos and check-typos workflows (replaced by agentic typo-checker) - Remove legacy md-link-check workflow (replaced by agentic link-checker) - Fix existing code issues: trailing whitespace, missing EOF newlines, shellcheck warnings, YAML indentation, markdownlint auto-fixes Signed-off-by: Andy Anderson <andy@clubanderson.com> Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Andrew Anderson <andy@clubanderson.com>
1 parent 5c89823 commit 51e242e

File tree

73 files changed

+3932
-369
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+3932
-369
lines changed

‎.gitattributes‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.github/workflows/*.lock.yml linguist-generated=true merge=ours
2+
.github/workflows/*.campaign.g.md linguist-generated=true merge=ours

‎.github/ISSUE_TEMPLATE/blank_issue.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ title: ''
55
labels: needs-triage
66
assignees: ''
77

8-
---
8+
---

‎.github/ISSUE_TEMPLATE/bug_report.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ assignees: ''
2020
**Anything else we need to know?**:
2121

2222
**Environment**:
23+
2324
- Kubernetes version (use `kubectl version`):
2425
- llm-d-scheduler version (use `git describe --tags --dirty --always` if you built from source, or specify the tag if you used a tagged version or image):
2526
- Cloud provider or hardware configuration:

‎.github/ISSUE_TEMPLATE/new-release.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ This document defines the process for releasing llm-d-inference-scheduler.
3535
```shell
3636
export RC=1
3737
```
38+
3839
1. If needed, clone the llm-d-inference-scheduler [repo].
3940

4041
```shell
@@ -43,7 +44,7 @@ This document defines the process for releasing llm-d-inference-scheduler.
4344

4445
## Release Process
4546

46-
### Create or Checkout branch
47+
### Create or Checkout branch
4748

4849
1. If you already have the repo cloned, ensure it’s up-to-date and your local branch is clean.
4950

@@ -101,7 +102,7 @@ This document defines the process for releasing llm-d-inference-scheduler.
101102
1. Pushing the tag triggers CI action to build and publish the container image to the [ghcr registry].
102103
1. Test the steps in the tagged quickstart guide after the PR merges. TODO add e2e tests! <!-- link to an e2e tests once we have such one -->
103104

104-
### Create the release!
105+
### Create the release
105106

106107
1. Create a [new release]:
107108
1. Choose the tag that you created for the release.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"entries": {
3+
"actions/github-script@v8": {
4+
"repo": "actions/github-script",
5+
"version": "v8",
6+
"sha": "ed597411d8f924073f98dfc5c65a23a2325f34cd"
7+
},
8+
"github/gh-aw/actions/setup@v0.45.0": {
9+
"repo": "github/gh-aw/actions/setup",
10+
"version": "v0.45.0",
11+
"sha": "58d1d157fbac0f1204798500faefc4f7461ebe28"
12+
}
13+
}
14+
}

‎.github/dependabot.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ updates:
2626
update-types: ["version-update:semver-major", "version-update:semver-minor"]
2727
# Ignore major updates for all packages
2828
- dependency-name: "*"
29-
update-types: ["version-update:semver-major"]
29+
update-types: ["version-update:semver-major"]
3030
groups:
3131
go-dependencies:
3232
patterns:

‎.github/workflows/auto-assign.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@ jobs:
8383
-H "Accept: application/vnd.github.v3+json" \
8484
"https://api.github.com/repos/$REPO/pulls/$PR_NUMBER/requested_reviewers" \
8585
-d "{\"reviewers\": $payload}" \
86-
| jq -r '.message? // "ok"'
86+
| jq -r '.message? // "ok"'

‎.github/workflows/check-typos.yaml‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

‎.github/workflows/ci-pr-checks.yaml‎

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,19 @@ jobs:
4040
- name: Checkout source
4141
uses: actions/checkout@v6
4242

43-
- name: Sanity check repo contents
44-
run: ls -la
43+
- name: Set up Python (for pre-commit and CGO)
44+
uses: actions/setup-python@v5
45+
with:
46+
python-version: '3.12'
47+
48+
- name: Install hadolint
49+
run: |
50+
curl -sL -o /usr/local/bin/hadolint \
51+
https://github.com/hadolint/hadolint/releases/download/v2.12.0/hadolint-Linux-x86_64
52+
chmod +x /usr/local/bin/hadolint
53+
54+
- name: Run pre-commit checks
55+
uses: pre-commit/action@v3.0.1
4556

4657
- name: Extract Go version from go.mod
4758
run: sed -En 's/^go (.*)$/GO_VERSION=\1/p' go.mod >> $GITHUB_ENV
@@ -71,7 +82,7 @@ jobs:
7182
- name: Run lint checks
7283
uses: golangci/golangci-lint-action@v9
7384
with:
74-
version: "v2.8.0"
85+
version: "v2.1.6"
7586
args: "--config=./.golangci.yml"
7687
skip-cache: true
7788
env:
Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
1-
name: Check Signed Commits in PR
2-
3-
on:
4-
pull_request_target:
1+
name: Check Signed Commits
2+
on: pull_request_target
53

64
jobs:
7-
check-signed-commits:
8-
name: Check signed commits in PR
9-
runs-on: ubuntu-latest
5+
signed-commits:
6+
uses: llm-d/llm-d-infra/.github/workflows/reusable-signed-commits.yml@main
107
permissions:
118
contents: read
12-
pull-requests: write # Required to post comments on PRs
13-
steps:
14-
- name: Check signed commits in PR
15-
uses: 1Password/check-signed-commits-action@v1 # Use the action
16-
with:
17-
comment: |
18-
🚨 Unsigned commits detected! Please sign your commits.
19-
20-
For instructions on how to set up GPG/SSH signing and verify your commits, please see [GitHub Documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification).
9+
pull-requests: write

0 commit comments

Comments
 (0)