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:
James O. D. Hunt 2021-10-27 10:08:12 +01:00 committed by GitHub
commit 4d4a15d6ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,26 +5,12 @@ on:
name: test-kata-deploy
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:
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
steps:
- name: get-PR-ref