Skip to content

[BUG] Composite actions should be provisioned with ACTIONS_RUNTIME_TOKEN just like the node and docker ones #3046

Open

Description

@webknjaz

Currently, ACTIONS_RUNTIME_TOKEN is exposed to nodejs and docker action types, but not the composite ones. So accessing it is rather limited to 2/3 types of the action types. It's not a private implementation detail and GitHub's own docs even show accessing it through the normal JS env var interface (process.env): https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-cloud-providers#requesting-the-jwt-using-environment-variables. There's also no recommendations not to use it, it's rather undocumented that it's surprisingly inaccessible from within non-actions and composite actions.

Which is why I think it's actually a bug that got overlooked, unintentionally vendor-locking the action authors to docker or nodejs. It shouldn't be like this so I'm filing this issue to ask this (and related) env vars to be exposed to all action types equally.

The other action implementations set the env var like this:

Activity

  1. added
    bug
    on Dec 17, 2023
  2. github-actions commented on Dec 23, 2024

    @github-actions
    Contributor

    This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 15 days.

  3. webknjaz commented on Dec 23, 2024

    @webknjaz
    Author

    unstale

  4. iamstarkov commented on Sep 9, 2025

    @iamstarkov

    unstale

  5. webknjaz commented on Sep 9, 2025

    @webknjaz
    Author

    unstale

  6. gagansuie commented on Nov 13, 2025

    @gagansuie

    unstale

  7. jeduardo commented on Jan 1, 2026

    @jeduardo

    If someone else stumbles upon this bug before it's resolved, as I did, I found that using this action exposes the variable to other workflow steps and helps work around it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions