Skip to content

Update github workflows to support pipeline on forks #8

Update github workflows to support pipeline on forks

Update github workflows to support pipeline on forks #8

Workflow file for this run

name: Run tests on Testing Farm

Check failure on line 1 in .github/workflows/testing-farm.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/testing-farm.yaml

Invalid workflow file

`pull_request_trigger` is not a valid event name
on:
push:
branches: [ master ]
pull_request_trigger:
types: [opened, synchronize, reopened]
jobs:
test-init:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
statuses: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Test init on Fedora VM
uses: sclorg/testing-farm-as-github-action@v4
with:
api_key: ${{ secrets.TESTING_FARM_API_TOKEN }}
compose: Fedora-Rawhide
tmt_path: "tmt"
tmt_plan_regex: "fedora-init"
pull_request_status_name: "Fedora init test"
update_pull_request_status: "true"
create_github_summary: "true"
test-upgrade:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
statuses: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Test upgrade on Fedora VM
uses: sclorg/testing-farm-as-github-action@v4
with:
api_key: ${{ secrets.TESTING_FARM_API_TOKEN }}
compose: Fedora-Rawhide
tmt_path: "tmt"
tmt_plan_regex: "fedora-upgrade"
pull_request_status_name: "Fedora upgrade test"
update_pull_request_status: "true"
create_github_summary: "true"