From 9b6207e9ed068b15ca205a34207973ca900dc511 Mon Sep 17 00:00:00 2001 From: Liora Milbaum Date: Tue, 26 Dec 2023 14:59:45 +0200 Subject: [PATCH] Onboarding Testing-Farm --- .github/workflows/testing-farm.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/testing-farm.yml diff --git a/.github/workflows/testing-farm.yml b/.github/workflows/testing-farm.yml new file mode 100644 index 00000000..8f20da91 --- /dev/null +++ b/.github/workflows/testing-farm.yml @@ -0,0 +1,26 @@ +name: Schedule test on Testing Farm + +on: + pull_request: + branches: + - main + +permissions: + contents: read + pull-requests: write + statuses: write + +jobs: + tests: + runs-on: ubuntu-20.04 + steps: + - name: Checkout repo and switch to corresponding pull request + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + + - name: Schedule test on Testing Farm + uses: sclorg/testing-farm-as-github-action@v1.3.1 + with: + api_key: ${{ secrets.TESTING_FARM_API_TOKEN }} + git_url: https://github.com/centos/centos-bootc + git_ref: ${{ github.ref }} + pull_request_status_name: "Fedora"