From c61a1c1f10b439ccffb100a1fb6b09386a59b2b2 Mon Sep 17 00:00:00 2001 From: Igor Rodionov Date: Fri, 15 Mar 2024 19:54:09 +0100 Subject: [PATCH] Update shared-auto-release config name (#53) * Update shared-auto-release config name * Added runs-on input --- .github/workflows/shared-auto-release.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/shared-auto-release.yml b/.github/workflows/shared-auto-release.yml index a1a3bf95..7af73b50 100644 --- a/.github/workflows/shared-auto-release.yml +++ b/.github/workflows/shared-auto-release.yml @@ -17,14 +17,19 @@ on: If your workflow requires multiple release-drafter configs it is helpful to override the config-name. The config should still be located inside `.github` as that's where we are looking for config files. required: false - default: configs/draft-release.yml + default: auto-release.yml type: string - + runs-on: + description: "Overrides job runs-on setting (json-encoded list)" + type: string + required: false + default: '["ubuntu-latest"]' + permissions: {} jobs: release: - runs-on: ubuntu-latest + runs-on: ${{ fromJSON(inputs.runs-on) }} environment: auto-release steps: - uses: actions/create-github-app-token@v1