-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Prow like actions for BYOH (#247)
* Add Prow like actions for BYOH * use latest version for prow github actions * sort actions * remove config area
- Loading branch information
1 parent
97eb96d
commit 75d9db1
Showing
4 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
area/docs: | ||
- "docs/**/*" | ||
- "**/*.md" | ||
|
||
area/installer: | ||
- "agent-installer/**/*" | ||
|
||
area/apis: | ||
- "apis/*" | ||
- "apis/**/*" | ||
|
||
area/test-release: | ||
- "hack/**/*" | ||
- "test/**/*" | ||
- "go.mod" | ||
- "Makefile" | ||
|
||
area: | ||
- "apis" | ||
- "docs" | ||
- "test-release" | ||
- "installer" | ||
|
||
kind: | ||
- "bug" | ||
- "feature" | ||
- "cleanup" | ||
- "docs" | ||
- "test-release" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: "Merge on lgtm label" | ||
on: | ||
pull_request: | ||
branches: [ main ] | ||
schedule: | ||
- cron: "0 * * * *" | ||
|
||
jobs: | ||
execute: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: jpmcb/[email protected] | ||
with: | ||
jobs: 'lgtm' | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" | ||
merge-method: 'squash' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: "Prow github actions" | ||
on: | ||
issue_comment: | ||
types: [created] | ||
|
||
jobs: | ||
execute: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: jpmcb/[email protected] | ||
with: | ||
prow-commands: '/approve | ||
/area | ||
/assign | ||
/cc | ||
/close | ||
/hold | ||
/kind | ||
/lgtm | ||
/lock | ||
/milestone | ||
/priority | ||
/remove | ||
/reopen | ||
/retitle | ||
/unassign | ||
/uncc' | ||
github-token: "${{ secrets.GITHUB_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Automatically label new pull requests based on the paths of files being changed | ||
name: Pull Request Labeler | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, reopened, synchronize, ready_for_review] | ||
|
||
jobs: | ||
triage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Label pull requests based on the file paths | ||
uses: actions/labeler@v3 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
configuration-path: .github/labeler.yaml |