Skip to content

runbot

runbot #712

Workflow file for this run

name: runbot
on:
workflow_dispatch : #only run when requested
inputs:
ai_name :
type: string
required: true
ai_role:
type: string
required: true
ai_goal_count:
type: number
required: true
ai_goal_1:
type: string
required: true
ai_goal_2:
type: string
ai_goal_3:
type: string
ai_goal_4:
type: string
jobs:
run_bot:
runs-on: ubuntu-latest
steps:
- name: Print GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo GITHUB_CONTEXT:$GITHUB_CONTEXT
- uses: meta-introspector/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run autogpt in docker with mock openai server
run: docker-compose up --no-build --abort-on-container-exit
env:
AI_NAME: "'${{ inputs.ai_name }}'"
AI_ROLE: "'${{ inputs.ai_role }}'"
AI_GOAL_1: "'${{ inputs.ai_goal_1 }}'"
AI_GOAL_2: "'${{ inputs.ai_goal_2 }}'"
AI_GOAL_3: "'${{ inputs.ai_goal_3 }}'"
AI_GOAL_4: "'${{ inputs.ai_goal_4 }}'"
AI_GOAL_COUNT: "'${{ inputs.ai_goal_count }}'"
GITHUB_PAT: ${{ secrets.PAT }}
GITHUB_REPO: ${{ github.repository }}