Skip to content

Allow token expiration time to be configurable #51

@Xuanwo

Description

@Xuanwo

Hi, thank you for building this. Trusted publishing is great, but the default token expiration time is too short for a large workspace to release.

Like our repo: https://github.com/lancedb/lance, we have many crates to release:

- uses: rust-lang/crates-io-auth-action@v1
  id: auth
- uses: albertlockett/[email protected]
  with:
    registry-token: ${{ steps.auth.outputs.token }}
    args: "--all-features"
    path: .

And it's also impossible for us to fetch a new token per crate. Can we make the token expiration time longer? Or at least make it last as long as the job is running?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions