This is an automated email from the ASF dual-hosted git repository.

arm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


The following commit(s) were added to refs/heads/main by this push:
     new 7821d84  Add test workflow for API testing
7821d84 is described below

commit 7821d84b83fd297daf5e91519aa4777699ae1415
Author: Alastair McFarlane <[email protected]>
AuthorDate: Tue Jan 6 14:36:03 2026 +0000

    Add test workflow for API testing
---
 .github/workflows/workflowtest.yml | 41 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/.github/workflows/workflowtest.yml 
b/.github/workflows/workflowtest.yml
new file mode 100644
index 0000000..8439002
--- /dev/null
+++ b/.github/workflows/workflowtest.yml
@@ -0,0 +1,41 @@
+name: Test trigger workflow
+run-name: "test-${{ inputs.id }}"
+
+on:
+  workflow_dispatch:
+    inputs:
+      id:
+        description: 'Test run ID'
+        required: true
+      logLevel:
+        description: 'Log level'
+        required: true
+        default: 'warning'
+        type: choice
+        options:
+        - info
+        - warning
+        - debug
+      tags:
+        description: 'Test scenario tags'
+        required: false
+        type: boolean
+      environment:
+        description: 'Environment to run tests against'
+        type: environment
+        required: true
+
+permissions: {}
+
+jobs:
+  log-the-inputs:
+    runs-on: ubuntu-latest
+    steps:
+      - run: |
+          echo "Log level: $LEVEL"
+          echo "Tags: $TAGS"
+          echo "Environment: $ENVIRONMENT"
+        env:
+          LEVEL: ${{ inputs.logLevel }}
+          TAGS: ${{ inputs.tags }}
+          ENVIRONMENT: ${{ inputs.environment }}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to