mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-24 22:43:05 +00:00
github: Only run kata-deploy-test on pull-requests
We're currently running kata-deploy-test for every issue opened, for every comment in the issue. Issues, themselves, shouldn't be triggering those as they can't cause any code change. With this in mind, let's restrict ourselves to run those on pull-requests only. Fixes: #1341 Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
This commit is contained in:
parent
38b5a43267
commit
50fea9fa6f
2
.github/workflows/kata-deploy-test.yaml
vendored
2
.github/workflows/kata-deploy-test.yaml
vendored
@ -2,6 +2,8 @@ on: issue_comment
|
||||
name: test-kata-deploy
|
||||
jobs:
|
||||
check_comments:
|
||||
if: ${{ github.event.issue.pull_request }}
|
||||
types: [created, edited]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check for Command
|
||||
|
Loading…
Reference in New Issue
Block a user