Start Vagrant Release Process #1
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: 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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | |
- name: Run initiator | |
run: ./.ci/release-initiator "${VERSION}" | |
env: | |
VERSION: ${{ inputs.release_version }} | |
# NOTE: custom token is used so pushed tag will trigger release workflow | |
HASHIBOT_TOKEN: ${{ secrets.HASHIBOT_TOKEN }} | |
HASHIBOT_USERNAME: vagrant-bot |