Fix Vendor Affirmation for SLED #2179
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |