From 9d6c18b94a48705777f54eb70005ccd802c9a5a5 Mon Sep 17 00:00:00 2001 From: "hypermod-io[bot]" <156275936+hypermod-io[bot]@users.noreply.github.com> Date: Tue, 6 May 2025 08:09:07 +0000 Subject: [PATCH] Welcome to Hypermod (#9897) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .github/workflows/hypermod.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/hypermod.yml diff --git a/.github/workflows/hypermod.yml b/.github/workflows/hypermod.yml new file mode 100644 index 0000000000..f91a0d82ef --- /dev/null +++ b/.github/workflows/hypermod.yml @@ -0,0 +1,22 @@ +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 }} \ No newline at end of file