explicate all possible values #84
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: Push Release | |
on: | |
push: | |
branches: | |
- release/v[0-9]+.[0-9]+.[0-9]+ | |
workflow_dispatch: | |
inputs: | |
ref_name: | |
type: string | |
jobs: | |
pr: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: develop | |
fetch-depth: 0 | |
- run: | | |
git config user.name 'voxel51-bot' | |
git config user.email '[email protected]' | |
git checkout merge/${{ inputs.ref_name || github.ref_name }} \ | |
|| git checkout -b merge/${{ inputs.ref_name || github.ref_name }} | |
git push -u origin merge/${{ inputs.ref_name || github.ref_name }} | |
git checkout develop | |
git pull origin merge/${{ inputs.ref_name || github.ref_name }} --no-rebase | |
git pull origin ${{ inputs.ref_name || github.ref_name }} --no-rebase | |
- uses: peter-evans/create-pull-request@v7 | |
with: | |
author: voxel51-bot <[email protected]> | |
token: ${{ secrets.FIFTYONE_GITHUB_TOKEN }} | |
base: develop | |
body: Merge `${{ inputs.ref_name || github.ref_name }}` to `develop` | |
branch: merge/${{ inputs.ref_name || github.ref_name }} | |
title: Merge `${{ inputs.ref_name || github.ref_name }}` to `develop` |