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 authored and jamacku committed Oct 2, 2024
1 parent c41d749 commit 247adf0
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/base-test-pr-trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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 }}
tmt_plan_regex: "smoke_plan"
pull_request_status_name: "Smoke test - pull_request_target"
update_pull_request_status: "true"
create_issue_comment: "true"

0 comments on commit 247adf0

Please sign in to comment.