Skip to content

Warn about possible problems with Trusted Publishing in self-hosted envs #323

Open
@webknjaz

Description

@webknjaz

${{ runner.environment }} can be github-hosted and self-hosted: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs#runner-context. This should be enough to detect if a warning is needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions