You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by ar...@apache.org on 2026/01/06 17:18:00 UTC

(tooling-actions) branch main updated (8b41ac0 -> da8b238)

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

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


 discard 8b41ac0  Add github token
     new da8b238  Add github token

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (8b41ac0)
            \
             N -- N -- N   refs/heads/main (da8b238)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/distribute-test.yml |  3 ---
 atr-distribute-test/action.yml        | 10 ++++++++++
 2 files changed, 10 insertions(+), 3 deletions(-)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org


(tooling-actions) 01/01: Add github token

Posted by ar...@apache.org.
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 <ar...@apache.org>
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: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org