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

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


The following commit(s) were added to refs/heads/main by this push:
     new 6c15b19  Use a fixed username for uploading files
6c15b19 is described below

commit 6c15b1939ae0f5904e969d1795954b81804d30ff
Author: Sean B. Palmer <[email protected]>
AuthorDate: Thu Nov 20 10:43:53 2025 +0000

    Use a fixed username for uploading files
---
 upload-to-atr/action.yml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/upload-to-atr/action.yml b/upload-to-atr/action.yml
index 15a9f64..4b05690 100644
--- a/upload-to-atr/action.yml
+++ b/upload-to-atr/action.yml
@@ -21,7 +21,6 @@ description: "Create a GitHub OIDC JWT, register an SSH key, 
then rsync a direct
 branding: {icon: upload-cloud, color: blue}
 
 inputs:
-  asf-uid: {description: "ASF UID", required: true}
   project: {description: "Project", required: true}
   version: {description: "Version", required: true}
   src: {description: "Local directory", default: "dist"}
@@ -78,11 +77,10 @@ runs:
         case "$src" in */) ;; *) src="$src/";; esac
         rsync -av \
           -e "ssh -p ${INPUTS_SSH_PORT} -i $SSH_PRIVATE_KEY_PATH -o 
StrictHostKeyChecking=accept-new" \
-          "$src" 
"${INPUTS_ASF_UID}@${INPUTS_ATR_HOST}:/${INPUTS_PROJECT}/${INPUTS_VERSION}/"
+          "$src" 
"github@${INPUTS_ATR_HOST}:/${INPUTS_PROJECT}/${INPUTS_VERSION}/"
       env:
         INPUTS_SRC: ${{ inputs.src }}
         INPUTS_SSH_PORT: ${{ inputs.ssh-port }}
-        INPUTS_ASF_UID: ${{ inputs.asf-uid }}
         INPUTS_ATR_HOST: ${{ inputs.atr-host }}
         INPUTS_PROJECT: ${{ inputs.project }}
         INPUTS_VERSION: ${{ inputs.version }}


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

Reply via email to