Skip to content

Commit

Permalink
actions: Add action to perform WIP check for pull requests
Browse files Browse the repository at this point in the history
Use github actions for performing WIP checks on PRs.
The action checks for keywords in subject line
as well labels.

Fixes: kata-containers#437

Signed-off-by: Archana Shinde <[email protected]>
(cherry picked from commit 0d96145)
  • Loading branch information
amshinde committed Jul 23, 2020
1 parent c5c3f5c commit c508162
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/PR-wip-checks.yaml
Original file line number Diff line number Diff line change
@@ -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"]'

0 comments on commit c508162

Please sign in to comment.