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-actions.git

commit da8b238137453a21eb3e93192b8aff73e9ce68e4
Author: Alastair McFarlane <[email protected]>
AuthorDate: Tue Jan 6 17:16:02 2026 +0000

    Add github token
---
 atr-distribute-test/action.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/atr-distribute-test/action.yml b/atr-distribute-test/action.yml
index 71d979e..38713c4 100644
--- a/atr-distribute-test/action.yml
+++ b/atr-distribute-test/action.yml
@@ -35,6 +35,16 @@ inputs:
 runs:
   using: "composite"
   steps:
+    - name: Create a GitHub OIDC JWT
+      id: create-github-jwt
+      shell: bash
+      run: |
+        set -euo pipefail
+        url="${ACTIONS_ID_TOKEN_REQUEST_URL}&audience=atr-test-v1"
+        jwt="$(curl -sS --fail-with-body -H "Authorization: bearer 
${ACTIONS_ID_TOKEN_REQUEST_TOKEN}" "$url" | jq -r .value)"
+        echo "::add-mask::$jwt"
+        echo "jwt=$jwt" >> "$GITHUB_OUTPUT"
+
     - name: Generate an ephemeral SSH key
       id: generate-ssh-key
       shell: bash


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

Reply via email to