Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Aug 12, 2024
1 parent 63a0ec4 commit 15f1ea6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ on:
pull_request:
workflow_dispatch: {}
workflow_call:
inputs:
workflow_call:
type: boolean
default: true

jobs:
build:
if: github.event_name != 'workflow_call'
if: "!inputs.workflow_call"
needs: lint
runs-on: ${{ matrix.os }}
strategy:
Expand Down Expand Up @@ -43,7 +47,7 @@ jobs:
run: bikeshed --no-update test

lint:
if: github.event_name != 'workflow_call'
if: "!inputs.workflow_call"

runs-on: ubuntu-latest

Expand Down

0 comments on commit 15f1ea6

Please sign in to comment.