Skip to content

Fix Vendor Affirmation for SLED #2179

Fix Vendor Affirmation for SLED

Fix Vendor Affirmation for SLED #2179

---
name: Clone an openQA test mentioned in a PR comment
# yamllint disable-line rule:truthy
on:
issue_comment:
types: [created, edited]
env:
OPENQA_HOST: ${{ vars.OPENQA_URL }}
OPENQA_API_KEY: ${{ secrets.OPENQA_API_KEY }}
OPENQA_API_SECRET: ${{ secrets.OPENQA_API_SECRET }}
GH_PR_URL: ${{ github.event.issue.pull_request.url }}
GH_COMMENT_BODY: ${{ github.event.comment.body }}
GH_COMMENT_AUTHOR: ${{ github.event.comment.user.login }}
GH_COMMENT_URL: ${{ github.event.comment.html_url }}
RESTRICT_ORGA: os-autoinst
RESTRICT_TEAM: tests-maintainer
jobs:
clone_mentioned_job:
runs-on: ubuntu-latest
if: "github.event.issue.pull_request && contains(github.event.comment.body, 'openqa: Clone ')"
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_FOR_ACTIONS }}
container:
image: registry.opensuse.org/devel/openqa/containers/tumbleweed:client
steps:
- name: Clone and monitor job mentioned in PR comment
uses: os-autoinst/scripts/actions/clone-job@master