From 73b9ee1d6669c797851ba0add8f5f52106aac44d Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Tue, 23 Feb 2021 12:41:31 +0100 Subject: [PATCH] Fix wildcard syntax --- .github/workflows/validate-swift.yml | 10 ++++------ .github/workflows/validate-typescript.yml | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/.github/workflows/validate-swift.yml b/.github/workflows/validate-swift.yml index 524c519..aca407d 100644 --- a/.github/workflows/validate-swift.yml +++ b/.github/workflows/validate-swift.yml @@ -5,14 +5,12 @@ on: branches: - master paths: - - ".github/workflows/validate-swift.yaml" - - "ios/" - - "example/ios/" + - '.github/workflows/validate-swift.yml' + - 'ios/**' pull_request: paths: - - ".github/workflows/validate-swift.yaml" - - "ios/" - - "example/ios/" + - '.github/workflows/validate-swift.yml' + - 'ios/**' jobs: SwiftLint: diff --git a/.github/workflows/validate-typescript.yml b/.github/workflows/validate-typescript.yml index da7c2e7..22a6d9c 100644 --- a/.github/workflows/validate-typescript.yml +++ b/.github/workflows/validate-typescript.yml @@ -5,18 +5,18 @@ on: branches: - master paths: - - ".github/workflows/validate-typescript.yml" - - "src/" - - "*.js" - - "*.json" - - "package.json" + - '.github/workflows/validate-typescript.yml' + - 'src/**' + - '*.js' + - '*.json' + - 'package.json' pull_request: paths: - - ".github/workflows/validate-typescript.yml" - - "src/" - - "*.js" - - "*.json" - - "package.json" + - '.github/workflows/validate-typescript.yml' + - 'src/**' + - '*.js' + - '*.json' + - 'package.json' jobs: build: