From 4747c225868e38f441608bbe7912fa335a30b670 Mon Sep 17 00:00:00 2001 From: Ella Bronson <111298136+ebronson68@users.noreply.github.com> Date: Thu, 29 Aug 2024 15:02:46 -0500 Subject: [PATCH] [DEVOPS-527] Add custom GitHub runner support to Ruby CI workflow (#147)
DEVOPS-527
Summary Ruby Application CI workflows fail if the app requires gems.amuniversal.com access
Type Bug Bug
Status In Progress
Points N/A
Labels -
--- ## Description - Add custom GitHub runner support to Ruby CI workflow ## Related Links - Jira Issue: DEVOPS-527 --- .github/workflows/ruby-ci.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ruby-ci.yaml b/.github/workflows/ruby-ci.yaml index 479fb5dc..249397dc 100644 --- a/.github/workflows/ruby-ci.yaml +++ b/.github/workflows/ruby-ci.yaml @@ -21,6 +21,11 @@ on: type: string description: "Node.js version to install" default: "14" + GITHUB_RUNNER: + required: false + type: string + description: "The type of runner to use" + default: ${{ vars.CUSTOM_GITHUB_RUNNER || 'ubuntu-latest' }} secrets: AZURE_CREDENTIALS: required: true @@ -32,7 +37,7 @@ jobs: build: name: Build and Test if: ${{ github.actor != 'dependabot[bot]' }} - runs-on: ubuntu-latest + runs-on: ${{ inputs.GITHUB_RUNNER }} steps: - name: Checkout uses: actions/checkout@v4