Skip to content

Buildin Environment variable which hold the milestone #3285

@6543

Description

@6543

Clear and concise description of the problem

I need to check if a PR has a milestone set.

Suggested solution

Best would be to have an environment variable which holds the name of the milestone.

Alternative

I could use a command line tool or even curl to ask my forge. However this creates extra stuff to maintain, e. g. how login to the forge? On the other hand Woodpecker fetches already so many stuff from the forge, why not just provide that information too?

Additional context

No response

Validations

  • Checked that the feature isn't part of the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
  • Read the Contributing Guidelines.
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Sponsored by Kithara Software GmbH

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementimprove existing features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions