Do not update Dockerfile in case of dist-git #105
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: Fedora-PR-tests@TF | |
on: | |
issue_comment: | |
types: | |
- created | |
jobs: | |
build: | |
# This job only runs for '[test]' pull request comments by owner, member | |
name: Schedule test on Testing Farm service for Fedora | |
runs-on: ubuntu-latest | |
if: | | |
github.event.issue.pull_request | |
&& contains(github.event.comment.body, '/test') | |
&& contains(fromJson('["OWNER","MEMBER"]'), github.event.comment.author_association) | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
with: | |
ref: "refs/pull/${{ github.event.issue.number }}/head" | |
# https://github.com/sclorg/testing-farm-as-github-action | |
- name: Schedule tests on external Testing Farm by Testing-Farm-as-github-action | |
id: github_action | |
uses: sclorg/testing-farm-as-github-action@v1 | |
with: | |
api_key: ${{ secrets.TF_PUBLIC_API_KEY }} | |
git_url: "https://github.com/sclorg/sclorg-testing-farm" | |
git_ref: "main" | |
tf_scope: "public" | |
tmt_plan_regex: "cwt" | |
pull_request_status_name: "Fedora" | |
variables: "REPO_URL=$GITHUB_SERVER_URL/$GITHUB_REPOSITORY;REPO_NAME=$GITHUB_REPOSITORY;PR_NUMBER=${{ github.event.issue.number }}" | |
compose: "Fedora-latest" |