chore(deps): update konflux references #17
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: Testing farm go unit tests | |
on: | |
pull_request_target: | |
types: [opened, synchronize, reopened] | |
# see testingfarm.yml | |
jobs: | |
testingfarm: | |
name: "Run in testing farm" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get User Permission | |
id: checkAccess | |
uses: actions-cool/check-user-permission@v2 | |
with: | |
require: write | |
username: ${{ github.triggering_actor }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check User Permission | |
if: steps.checkAccess.outputs.require-result == 'false' | |
run: | | |
echo "${{ github.triggering_actor }} does not have permissions on this repo." | |
echo "Current permission level is ${{ steps.checkAccess.outputs.user-permission }}" | |
echo "Job originally triggered by ${{ github.actor }}" | |
exit 1 | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Run the tests | |
uses: sclorg/testing-farm-as-github-action@v3 | |
with: | |
compose: Fedora-40 | |
tmt_plan_filter: "unit-go.fmf" | |
api_key: ${{ secrets.TF_API_KEY }} | |
git_url: ${{ github.event.pull_request.head.repo.clone_url }} | |
git_ref: ${{ github.event.pull_request.head.ref }} | |
pull_request_status_name: "Testing farm" | |
tf_scope: private | |
secrets: "AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }};AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }};RHSM_ORG=${{ secrets.RHSM_ORG }};RHSM_ACTIVATION_KEY=${{ secrets.RHSM_ACTIVATION_KEY }} " |