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 da55914  Change workflow to be a specific staging workflow and remove 
from passed args
da55914 is described below

commit da55914092f27b623e3f57e5bde3e8408f096d08
Author: Alastair McFarlane <[email protected]>
AuthorDate: Fri Jan 16 11:30:00 2026 +0000

    Change workflow to be a specific staging workflow and remove from passed 
args
---
 atr/tasks/gha.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/atr/tasks/gha.py b/atr/tasks/gha.py
index 0baf302..a13a016 100644
--- a/atr/tasks/gha.py
+++ b/atr/tasks/gha.py
@@ -74,7 +74,7 @@ async def trigger_workflow(args: DistributionWorkflow, *, 
task_id: int | None =
         sql_platform = sql.DistributionPlatform[args.platform]
     except KeyError:
         _fail(f"Invalid platform: {args.platform}")
-    workflow = f"distribute-{sql_platform.value.gh_slug}.yml"
+    workflow = f"distribute-{sql_platform.value.gh_slug}{'-stg' if 
args.staging else ''}.yml"
     payload = {
         "ref": "main",
         "inputs": {
@@ -86,7 +86,6 @@ async def trigger_workflow(args: DistributionWorkflow, *, 
task_id: int | None =
             "distribution-owner-namespace": args.namespace,
             "distribution-package": args.package,
             "distribution-version": args.version,
-            "staging": "true" if args.staging else "false",
             **args.arguments,
         },
     }


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

Reply via email to