chore: modify test action

[skip ci]
This commit is contained in:
Marcel S. Henselin 2026-03-26 13:36:38 +01:00
parent e2d1d4dc91
commit ab6e2068c4
2 changed files with 21 additions and 66 deletions

View file

@ -43,6 +43,7 @@ jobs:
- name: Run Test (workflow dispatch)
if: ${{ github.event_name == 'workflow_dispatch' }}
id: manual_run
uses: ./.github/actions/acc_test
with:
go-version: ${{ env.GO_VERSION }}
@ -59,6 +60,7 @@ jobs:
- name: Run Test (automatic)
if: ${{ github.event_name != 'workflow_dispatch' }}
id: automatic_run
uses: ./.github/actions/acc_test
with:
go-version: ${{ env.GO_VERSION }}
@ -78,6 +80,6 @@ jobs:
title: Terraform Acceptance Tests finished
event_title: ${{ github.event.type }}
event_author: ${{ github.event.actor.login }}
event_body: 'No event body.'
event_body: "${{ steps.automatic_run.outputs.result || steps.manual_run.outputs.result }}"
event_number: ${{ github.event.id }}
event_url: "https://tf-provider.git.onstackit.cloud/stackit-dev-tools/terraform-provider-stackitprivatepreview/actions/runs/${{ github.run_id }}"