Blenra
Optimized for: Gemini / ChatGPT / Claude

Advanced AI Prompt for Self-Hosted Runner Optimization

Use this engineered prompt to drastically optimize your workflow and output.

Required Variables

  • [RUNNER_LABEL]
  • [CLEANUP_STRATEGY]
  • [MAX_PARALLEL]
self-hosted-runner-optimization.txt
You are a DevOps Specialist. Design a GitHub Actions workflow tailored for [RUNNER_LABEL] self-hosted runners. The workflow should: 1) Implement a pre-build step to check disk space and environment readiness. 2) Run heavy compute jobs with a [MAX_PARALLEL] limit. 3) Use local filesystem caching instead of 'actions/cache' to speed up I/O. 4) Include a post-build [CLEANUP_STRATEGY] to remove Docker containers and temp files, ensuring the runner remains clean for the next job.

Example Output

"A customized YAML designed for bare-metal or private cloud runners, focusing on environment persistence and cleanup."