Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for CI_COMMIT_PULL_REQUEST_TITLE #4157

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pat-s
Copy link
Contributor

@pat-s pat-s commented Oct 3, 2024

Currently, the PR title is set to CI_COMMIT_MESSAGE for most Forges (e.g. it has been set to the PR body on BB until recently). This PR adds a new env var CI_COMMIT_PULL_REQUEST_TITLE to

  • harmonize the return across all forges
  • have a more descriptive env var (CI_COMMIT_MESSAGE does not really tell you by its name that it is returning the PR title)

@pat-s pat-s added the feature add new functionality label Oct 3, 2024
@woodpecker-bot
Copy link
Collaborator

Deploying preview to https://woodpecker-ci-woodpecker-pr-4157.surge.sh

@zc-devs
Copy link
Contributor

zc-devs commented Oct 7, 2024

As PR title isn't related to Commit, it would be great, if it was refactored to CI_PULL_REQUEST_TITLE (and the model accordingly).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature add new functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants