Skip to content

Commit

Permalink
Add another actions to require label check
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Jung (VMware) <antheaj@vmware.com>
  • Loading branch information
Anna Jung (VMware) committed Aug 3, 2023
1 parent 1389995 commit f4146cc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ on:
- labeled

jobs:
label_check:
ok_to_test_label_check:
if: ${{ github.event.label.name == 'ok-to-test' }}
name: label-check
runs-on: ubuntu-latest
steps:
- run: echo "Pull request contains label ok-to-test"
17 changes: 17 additions & 0 deletions .github/workflows/e2e_test_require_label_check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: E2E Test Require Label Check

on:
pull_request:
paths:
- apps/**
- common/**

jobs:
require_label_check:
runs-on: ubuntu-latest
steps:
- uses: mheap/github-action-required-labels@v5
with:
mode: exactly
count: 1
labels: "ok-to-test"

0 comments on commit f4146cc

Please sign in to comment.