Skip to content

Start Vagrant Release Process #5

Start Vagrant Release Process

Start Vagrant Release Process #5

name: Start Vagrant Release Process
on:
workflow_dispatch:
inputs:
release_version:
description: 'Release Version (example: 1.0.0)'
required: true
type: string
jobs:
start-release:
if: github.repository == 'hashicorp/vagrant'
name: Initiate Release
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
# NOTE: custom token is used so pushed tag will trigger release workflow
token: ${{ secrets.HASHIBOT_TOKEN }}
- name: Run initiator
run: ./.ci/release-initiator "${VERSION}"
env:
VERSION: ${{ inputs.release_version }}
HASHIBOT_TOKEN: ${{ secrets.HASHIBOT_TOKEN }}
HASHIBOT_USERNAME: ${{ vars.HASHIBOT_USERNAME }}
HASHIBOT_EMAIL: ${{ vars.HASHIBOT_EMAIL }}