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

feature: Add {old_pull_request_body} and {old_pull_request_title} #164

Open
hwhsu1231 opened this issue May 13, 2024 · 0 comments
Open

feature: Add {old_pull_request_body} and {old_pull_request_title} #164

hwhsu1231 opened this issue May 13, 2024 · 0 comments

Comments

@hwhsu1231
Copy link

Feature Request

Hello, Maintainance Team.

I hope that github-cherry-pick-action can provide the following two special variables:

  1. {old_pull_request_body}
  2. {old_pull_request_title} (same as the {old_title})

Because I would like to apply this GitHub Action in the following form:

      - name: Cherry Pick into 'source/git-master' branch
        uses: carloscastrojumo/[email protected]
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          branch: 'source/git-master'
          labels: 'cherry-pick, automerge'
          force: true
          title: |
            {old_pull_request_title}
          body: |
            {old_pull_request_body}

            Cherry-picked from #{old_pull_request_id}

Therefore, I would need a special variable to reference the body of the old pull request, {old_pull_request_body}.

As for {old_pull_request_title}, it's simply to make the naming more systematic.

Version

  • github-cherry-pick-action: v1.0.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant