mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-10 09:27:03 +00:00
actions: Add action to perform WIP check for pull requests
Use github actions for performing WIP checks on PRs. The action checks for keywords in subject line as well labels. Fixes: #437 Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
This commit is contained in:
parent
1f21947dd1
commit
0d96145c29
21
.github/workflows/PR-wip-checks.yaml
vendored
Normal file
21
.github/workflows/PR-wip-checks.yaml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: Pull request WIP checks
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
- reopened
|
||||
- edited
|
||||
- labeled
|
||||
- unlabeled
|
||||
|
||||
jobs:
|
||||
pr_wip_check:
|
||||
runs-on: ubuntu-latest
|
||||
name: WIP Check
|
||||
steps:
|
||||
- name: WIP Check
|
||||
uses: tim-actions/wip-check@master
|
||||
with:
|
||||
labels: '["do-not-merge", "wip", "rfc"]'
|
||||
keywords: '["WIP", "wip", "RFC", "rfc", "dnm", "DNM", "do-not-merge"]'
|
Loading…
Reference in New Issue
Block a user