Skip to content

Branch, bump & tag crates #5

Branch, bump & tag crates

Branch, bump & tag crates #5

name: Branch, bump & tag crates
on:
workflow_call:
inputs:
repo:
type: string
required: true
path:
type: string
required: false
live-run:
type: boolean
required: false
version:
type: string
required: false
branch:
type: string
required: false
bump-deps-pattern:
type: string
required: true
bump-deps-version:
type: string
required: false
bump-deps-branch:
type: string
required: false
outputs:
branch:
value: ${{ jobs.main.outputs.branch }}
version:
value: ${{ jobs.main.outputs.version }}
workflow_dispatch:
inputs:
repo:
type: string
required: true
path:
type: string
required: false
live-run:
type: boolean
required: false
version:
type: string
required: false
branch:
type: string
required: false
bump-deps-pattern:
type: string
required: true
bump-deps-version:
type: string
required: false
bump-deps-branch:
type: string
required: false
jobs:
main:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.create-release-branch.outputs.version }}
branch: ${{ steps.create-release-branch.outputs.branch }}
steps:
- id: create-release-branch
uses: eclipse-zenoh/ci/[email protected]
with:
repo: ${{ inputs.repo }}
live-run: ${{ inputs.live-run }}
version: ${{ inputs.version }}
branch: ${{ inputs.branch }}
github-token: ${{ secrets.BOT_TOKEN_WORKFLOW }}
- uses: eclipse-zenoh/ci/[email protected]
with:
repo: ${{ inputs.repo }}
path: ${{ inputs.path }}
version: ${{ steps.create-release-branch.outputs.version }}
branch: ${{ steps.create-release-branch.outputs.branch }}
bump-deps-pattern: ${{ inputs.bump-deps-pattern }}
bump-deps-version: ${{ inputs.bump-deps-version }}
bump-deps-branch: ${{ inputs.bump-deps-branch }}
github-token: ${{ secrets.BOT_TOKEN_WORKFLOW }}