Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/prow-github.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Run specified actions or jobs for issue and PR comments

name: "Prow github actions"
on:
issue_comment:
types: [created]

# Grant additional permissions to the GITHUB_TOKEN
permissions:
# Allow labeling issues
issues: write
# Allow adding a review to a pull request
pull-requests: write

jobs:
prow-execute:
runs-on: ubuntu-latest
steps:
- uses: jpmcb/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
prow-commands: "/assign
/unassign
/approve
/retitle
/area
/kind
/priority
/remove
/lgtm
/close
/reopen
/lock
/milestone
/hold
/cc
/uncc"
18 changes: 18 additions & 0 deletions .github/workflows/prow-pr-automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This Github workflow will check every hour for PRs with the lgtm label and will attempt to automatically merge them.
# If the hold label is present, it will block automatic merging.

name: "Prow merge on lgtm label"
on:
schedule:
- cron: "*/5 * * * *" # every 5 minutes

jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- uses: jpmcb/[email protected]
with:
jobs: 'lgtm'
github-token: "${{ secrets.GITHUB_TOKEN }}"
merge-method: 'squash'

11 changes: 11 additions & 0 deletions .github/workflows/prow-pr-remove-lgtm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Run Jobs on PR
on: pull_request

jobs:
execute:
runs-on: ubuntu-latest
steps:
- uses: jpmcb/[email protected]
with:
jobs: lgtm
github-token: '${{ secrets.GITHUB_TOKEN }}'
16 changes: 16 additions & 0 deletions .github/workflows/re-run-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Re-Run PR tests

on:
issue_comment:
types: [created]

jobs:
rerun_pr_tests:
name: rerun_pr_tests
if: ${{ github.event.issue.pull_request }}
runs-on: ubuntu-20.04
steps:
- uses: estroz/rerun-actions@main
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
comment_id: ${{ github.event.comment.id }}
11 changes: 11 additions & 0 deletions .prowlabels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Labels for labeling issues and pull requests using GitHub prow action.
kind:
- 'bug'
- 'security'
- 'feature'
- 'docs'

priority:
- 'p0'
- 'p1'
- 'p2'
5 changes: 5 additions & 0 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
approvers:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

out of curiosity, will this work with OWNER_ALIASES file also?
e.g., like this one:
https://github.com/kubernetes-sigs/gateway-api-inference-extension/blob/main/OWNERS_ALIASES

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea I think we can use it. I added the file

- llm-d-inference-scheduler-maintainers

reviewers:
- llm-d-inference-scheduler-reviewers
19 changes: 19 additions & 0 deletions OWNERS_ALIASES
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md
# This file should be kept in sync with k/org.

aliases:
llm-d-inference-scheduler-maintainers:
- elevran
- kfirtoledo
- kfswain
- nilig
- nirrozenbaum
- shmuelk

llm-d-inference-scheduler-reviewers:
- elevran
- kfirtoledo
- kfswain
- nilig
- nirrozenbaum
- shmuelk
Loading