-
Notifications
You must be signed in to change notification settings - Fork 67
Add Prow GitHub Actions #290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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" |
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' | ||
|
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 }}' |
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 }} |
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' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
approvers: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. out of curiosity, will this work with OWNER_ALIASES file also? There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 |
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 |
Uh oh!
There was an error while loading. Please reload this page.