File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 description : Specify exact version instead of bumpp release type
2626 required : false
2727 type : string
28+ push :
29+ branches :
30+ - test-flight/prepare-publish-app-pr
2831
2932concurrency :
30- group : ${{ github.workflow }}-${{ inputs.target_branch }}-${{ inputs.version || inputs.release }}
33+ group : ${{ github.workflow }}-${{ inputs.target_branch || 'main' }}-${{ inputs.version || inputs.release || 'next' }}
3134 cancel-in-progress : false
3235
3336permissions : {}
4548 steps :
4649 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4750 with :
48- ref : ${{ inputs.target_branch }}
51+ ref : ${{ inputs.target_branch || 'main' }}
4952 fetch-depth : 0
5053 persist-credentials : false
5154
6568
6669 - name : Create branch and update version
6770 env :
68- TARGET_BRANCH : ${{ inputs.target_branch }}
69- RELEASE_TYPE : ${{ inputs.release }}
70- RELEASE_VERSION : ${{ inputs.version }}
71+ TARGET_BRANCH : ${{ inputs.target_branch || 'main' }}
72+ RELEASE_TYPE : ${{ inputs.release || 'next' }}
73+ RELEASE_VERSION : ${{ inputs.version || '' }}
7174 RUN_ID : ${{ github.run_id }}
7275 run : |
7376 RELEASE_INPUT="${RELEASE_VERSION:-$RELEASE_TYPE}"
8992
9093 - name : Open release PR
9194 env :
92- TARGET_BRANCH : ${{ inputs.target_branch }}
95+ TARGET_BRANCH : ${{ inputs.target_branch || 'main' }}
9396 GH_TOKEN : ${{ steps.generate-token.outputs.token }}
9497 run : |
9598 PREPARE_BRANCH="$(git branch --show-current)"
You can’t perform that action at this time.
0 commit comments