chore(deps): update dependency husky to v9 #664
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Deployment | |
on: | |
workflow_call: | |
inputs: | |
passci: | |
description: 'Pass CI' | |
required: true | |
type: boolean | |
workflow_dispatch: | |
inputs: | |
passci: | |
description: 'Pass CI' | |
required: true | |
type: boolean | |
pull_request: | |
types: [opened, synchronize, reopened, labeled] | |
jobs: | |
check-branches: | |
if: | |
startsWith(github.head_ref, 'renovate/') || contains(github.head_ref, | |
'no-deploy') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fail if no passci inputs or pass-ci label | |
if: | |
${{ !inputs.passci && | |
!contains(github.event.pull_request.labels.*.name, 'pass-ci') }} | |
run: exit 1 |