From fa36f026e26c90e67f7f8dadd9ea2ccf5c0aca65 Mon Sep 17 00:00:00 2001 From: SoundDrill31 <84176052+sounddrill31@users.noreply.github.com> Date: Thu, 18 Apr 2024 13:47:00 +0530 Subject: [PATCH] Setup Runner: Auto-populate repo details --- .github/workflows/configure-runner.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/configure-runner.yml b/.github/workflows/configure-runner.yml index aec12f6f..a9aa50f2 100644 --- a/.github/workflows/configure-runner.yml +++ b/.github/workflows/configure-runner.yml @@ -9,10 +9,6 @@ name: Create Selfhosted Runner on: workflow_dispatch: inputs: - GITHUB_REPO: - description: 'Repository' - default: 'sounddrill31/crave_aosp_builder' - required: true RUNNER_TOKEN: description: 'This is the runner token, not PAT' required: true @@ -59,4 +55,4 @@ jobs: echo "Runner token found" fi cd actions-runner - ./config.sh --unattended --url "https://github.com/${{ inputs.GITHUB_REPO }}" --token "${{ inputs.RUNNER_TOKEN }}"" + ./config.sh --unattended --url "https://github.com/${{ github.repository }}" --token "${{ inputs.RUNNER_TOKEN }}""