semantic-release / env-ci

Get environment variables exposed by CI services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support WoodpeckerCI

6543 opened this issue · comments

commented

Support WoodpeckerCI

Documentation: https://woodpecker-ci.org/docs/usage/environment#built-in-environment-variables

Environment variables:

  • service detection: CI=woodpecker
  • Branch: CI_COMMIT_SOURCE_BRANCH
  • Commit sha: CI_COMMIT_SHA
  • Is Pull request: CI_COMMIT_PULL_REQUEST != ""
  • Pull request: CI_COMMIT_PULL_REQUEST
  • Build number: CI_BUILD_NUMBER

We welcome PRs to contribute new services like this one

here it is #220 😉