Skip to content

Commit

Permalink
Add ability to enable/disable linux_job_v2 workflow calls
Browse files Browse the repository at this point in the history
  • Loading branch information
jithunnair-amd authored Feb 20, 2025
1 parent 37f8b16 commit 640c2b5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/linux_job_v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,15 @@ on:
required: false
default: false
type: boolean
enabled:
description: Enable this workflow call to run
required: false
default: true
type: boolean

jobs:
job:
if: $${ inputs.enabled }}

Check failure

Code scanning / lintrunner

ACTIONLINT/[expression] Error

got unexpected character '$' while lexing expression, expecting 'a'..'z', 'A'..'Z', '_', '0'..'9', ''', '}', '(', ')', '[', ']', '.', '!', '<', '>', '=', '&', '|', '*', ',', ' '
strategy:
fail-fast: false
name: ${{ inputs.job-name }}
Expand Down

0 comments on commit 640c2b5

Please sign in to comment.