0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-01 02:52:58 +00:00

misc(ci): fix acceptance test dispatch

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
This commit is contained in:
Pavel Boldyrev 2024-03-04 20:07:17 -05:00
parent 171dd2f234
commit cf5e0374b6
No known key found for this signature in database
GPG Key ID: 02A24794ADAC7455

View File

@ -77,12 +77,26 @@ jobs:
run: make docs && git diff --exit-code
testacc:
if: "!contains(github.head_ref, 'renovate/') && !contains(github.head_ref, 'release-please')"
if: "!contains(github.head_ref, 'renovate/') && !contains(github.head_ref, 'release-please') && github.repository == 'bpg/terraform-provider-proxmox'"
name: Dispatch Acceptance Tests
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Filter paths
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: filter
with:
filters: |
go:
- '**/*.go'
- name: Invoke acceptance tests workflow
if: steps.filter.outputs.go == 'true'
uses: benc-uk/workflow-dispatch@v1
with:
workflow: testacc.yml