mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-14 14:14:15 +00:00
Merge pull request #2057 from wainersm/fix_kata-deploy-ci
ci: test-kata-deploy: Get rid of slash-command-action action
This commit is contained in:
commit
4d4a15d6ce
24
.github/workflows/kata-deploy-test.yaml
vendored
24
.github/workflows/kata-deploy-test.yaml
vendored
@ -5,26 +5,12 @@ on:
|
|||||||
name: test-kata-deploy
|
name: test-kata-deploy
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check_comments:
|
|
||||||
if: ${{ github.event.issue.pull_request }}
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Check for Command
|
|
||||||
id: command
|
|
||||||
uses: kata-containers/slash-command-action@v1
|
|
||||||
with:
|
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
command: "test_kata_deploy"
|
|
||||||
reaction: "true"
|
|
||||||
reaction-type: "eyes"
|
|
||||||
allow-edits: "false"
|
|
||||||
permission-level: admin
|
|
||||||
- name: verify command arg is kata-deploy
|
|
||||||
run: |
|
|
||||||
echo "The command was '${{ steps.command.outputs.command-name }}' with arguments '${{ steps.command.outputs.command-arguments }}'"
|
|
||||||
|
|
||||||
create-and-test-container:
|
create-and-test-container:
|
||||||
needs: check_comments
|
if: |
|
||||||
|
github.event.issue.pull_request
|
||||||
|
&& github.event_name == 'issue_comment'
|
||||||
|
&& github.event.action == 'created'
|
||||||
|
&& startsWith(github.event.comment.body, '/test_kata_deploy')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: get-PR-ref
|
- name: get-PR-ref
|
||||||
|
Loading…
Reference in New Issue
Block a user