diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d0720d50..92be155a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,14 @@ name: Run Tests on: - - push + push: + paths: + - ".github/workflows/build.yml" + - "package.json" + - "package-lock.json" + - "src/**" + - "test/**" + - "template.yaml" + workflow_dispatch: jobs: test: runs-on: ubuntu-latest diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1e512bad..c783e6ee 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,13 @@ on: branches: - deploy/staging - main + paths: + - ".github/workflows/deploy.yml" + - "package.json" + - "package-lock.json" + - "src/**" + - "template.yaml" + workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }} env: diff --git a/.github/workflows/production-types.yml b/.github/workflows/production-types.yml index 99d6be7e..5659add5 100644 --- a/.github/workflows/production-types.yml +++ b/.github/workflows/production-types.yml @@ -8,6 +8,8 @@ on: paths: - "docs/docs/spec/data-types.yaml" - ".github/flags/deploy-data-types" + - ".github/workflows/production-types.yml" + workflow_dispatch: jobs: Push-To-Types-Repo-Production: if: github.event.pull_request.merged == true diff --git a/.github/workflows/staging-types.yml b/.github/workflows/staging-types.yml index 47c6eb28..b017954c 100644 --- a/.github/workflows/staging-types.yml +++ b/.github/workflows/staging-types.yml @@ -7,6 +7,9 @@ on: - "deploy/staging" paths: - "docs/docs/spec/data-types.yaml" + - ".github/flags/deploy-data-types" + - ".github/workflows/staging-types.yml" + workflow_dispatch: jobs: Push-To-Types-Repo-Staging: if: github.event.pull_request.merged == true