mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-04 13:48:56 +02:00
Welcome to Hypermod! 🚀 This PR introduces the Hypermod Workflow File which connects the repository to Hypermod. The workflow will be triggered by Hypermod when a deployment is requested, which then uses Hypermod CLI to apply automated code transformations to your source files. After the transformations is complete, diffs are collected and a pull request is created. Please review the changes and merge this PR to connect. For more information, visit [Hypermod](https://hypermod.io/docs/installation). Co-authored-by: Christopher Kolstad <chriswk@fastmail.com>
22 lines
626 B
YAML
22 lines
626 B
YAML
name: Hypermod
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
deploymentId:
|
|
description: "The deployment ID contianing instructions to apply on a repository"
|
|
deploymentKey:
|
|
description: "The deployment key to authenticate the request"
|
|
jobs:
|
|
receive_hypermod_event:
|
|
permissions: write-all
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Run Hypermod CLI
|
|
uses: hypermod-io/action@v1
|
|
with:
|
|
deploymentId: ${{ inputs.deploymentId }}
|
|
deploymentKey: ${{ inputs.deploymentKey }}
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |