Skip to content

Add useMatchMedia hook #19

Add useMatchMedia hook

Add useMatchMedia hook #19

name: Validate Release Info
on:
pull_request:
types:
[
labeled,
unlabeled,
opened,
edited,
reopened,
synchronize,
ready_for_review,
]
paths:
- "packages/too-many-hooks/**.ts"
env:
IS_LABELED_RELEASE: contains(github.event.pull_request.labels.*.name, 'release')
IS_LABELED_NON_LOGICAL: contains(github.event.pull_request.labels.*.name, 'tooling') || contains(github.event.pull_request.labels.*.name, 'documentation') || contains(github.event.pull_request.labels.*.name, 'restructure')
jobs:
check-pr:
name: Validate Release Label and Notes
if: $IS_LABELED_RELEASE || !IS_LABELED_NON_LOGICAL

Check failure on line 24 in .github/workflows/validate-pr-release-info.yml

View workflow run for this annotation

GitHub Actions / Validate Release Info

Invalid workflow file

The workflow is not valid. .github/workflows/validate-pr-release-info.yml (Line: 24, Col: 9): Unexpected symbol: '$IS_LABELED_RELEASE'. Located at position 1 within expression: $IS_LABELED_RELEASE || !IS_LABELED_NON_LOGICAL
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: jefflinse/pr-semver-bump@v1
name: Validate Pull Request Metadata
with:
mode: validate
repo-token: ${{ secrets.GITHUB_TOKEN }}