feat: support custom PR title suffix #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Cherry pick Release/candidate into develop' | |
on: | |
pull_request: | |
branches: | |
- develop | |
types: | |
- closed | |
jobs: | |
test-cherry-pick: | |
runs-on: ubuntu-latest | |
name: Test the cherry-pick action | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Cherry pick | |
id: cherry-pick | |
uses: ./ | |
with: | |
target-branch: 'main' | |
pr-title-suffix: '🍒' | |
- name: Get the output | |
run: | |
echo "The created PR number is ${{ | |
steps.hello.outputs.pr-number }}" |