mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	Welcome to Hypermod (#9897)
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>
This commit is contained in:
		
							parent
							
								
									4860d73bf7
								
							
						
					
					
						commit
						9d6c18b94a
					
				
							
								
								
									
										22
									
								
								.github/workflows/hypermod.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.github/workflows/hypermod.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -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 }} | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user