Skip to content

Commit

Permalink
Update shared-auto-release config name (#53)
Browse files Browse the repository at this point in the history
* Update shared-auto-release config name

* Added runs-on input
  • Loading branch information
goruha authored Mar 15, 2024
1 parent b6b4524 commit c61a1c1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/shared-auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c61a1c1

Please sign in to comment.