Skip to content

Commit

Permalink
tests: add integration test for pull_request_target
Browse files Browse the repository at this point in the history
  • Loading branch information
zmiklank committed Mar 22, 2024
1 parent b1c8c43 commit 37ec6bc
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/base-test-pr-trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on: pull_request_target
jobs:
container-tests:
runs-on: ubuntu-22.04
name: "Smoke test for tfaga - pull_request_target"
permissions:
contents: read
pull-requests: write
statuses: write
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Run the tests
uses: ./
with:
api_key: ${{ secrets.TF_PUBLIC_API_KEY }}
git_url: "https://github.com/sclorg/testing-farm-as-github-action"
git_ref: "main"
tmt_plan_regex: "smoke_plan"
pull_request_status_name: "Smoke test - pull_request_target"
update_pull_request_status: "true"

0 comments on commit 37ec6bc

Please sign in to comment.