Skip to content

Commit

Permalink
feat: add runs-on param to linter workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JossWhittle committed Jan 16, 2025
1 parent 4cd7824 commit ef17518
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/pr-title-commitlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ on:
workflow_call:
inputs:

runs-on:
description: "Runner group name."
default: "light"
type: string

error-label:
description: "Label to add on bad lints."
default: ":black_nib: Bad PR Title"
Expand Down Expand Up @@ -31,7 +36,7 @@ jobs:
lint:
runs-on:
labels: [self-hosted, linux, x64]
group: light
group: ${{ inputs.runs-on }}
steps:
- name: clone config from repo
uses: actions/checkout@v4
Expand Down

0 comments on commit ef17518

Please sign in to comment.