Add root config files to trigger build workflows (#2875)

* Add root js config files to trigger build workflows

* Update to match all files in root except md and txt ones
This commit is contained in:
Michał Chęciński 2022-06-13 08:59:15 +01:00 committed by GitHub
parent 3b857345bb
commit e12d28d14a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 4 deletions

View File

@ -9,7 +9,9 @@ on:
paths: paths:
- 'apps/browser/**' - 'apps/browser/**'
- 'libs/**' - 'libs/**'
- '.github/workflows/build-browser.yml' - '*'
- '!*.md'
- '!*.txt'
push: push:
branches: branches:
- 'master' - 'master'
@ -18,6 +20,9 @@ on:
paths: paths:
- 'apps/browser/**' - 'apps/browser/**'
- 'libs/**' - 'libs/**'
- '*'
- '!*.md'
- '!*.txt'
- '.github/workflows/build-browser.yml' - '.github/workflows/build-browser.yml'
workflow_dispatch: workflow_dispatch:
inputs: {} inputs: {}

View File

@ -9,6 +9,9 @@ on:
paths: paths:
- 'apps/cli/**' - 'apps/cli/**'
- 'libs/**' - 'libs/**'
- '*'
- '!*.md'
- '!*.txt'
- '.github/workflows/build-cli.yml' - '.github/workflows/build-cli.yml'
push: push:
branches: branches:
@ -18,6 +21,9 @@ on:
paths: paths:
- 'apps/cli/**' - 'apps/cli/**'
- 'libs/**' - 'libs/**'
- '*'
- '!*.md'
- '!*.txt'
- '.github/workflows/build-cli.yml' - '.github/workflows/build-cli.yml'
workflow_dispatch: workflow_dispatch:
inputs: {} inputs: {}
@ -84,7 +90,7 @@ jobs:
cache: 'npm' cache: 'npm'
cache-dependency-path: '**/package-lock.json' cache-dependency-path: '**/package-lock.json'
node-version: '16' node-version: '16'
- name: Install node-gyp - name: Install node-gyp
run: | run: |
npm install -g node-gyp npm install -g node-gyp

View File

@ -8,7 +8,9 @@ on:
- 'gh-pages' - 'gh-pages'
paths: paths:
- 'apps/desktop/**' - 'apps/desktop/**'
- 'libs/**' - '*'
- '!*.md'
- '!*.txt'
- '.github/workflows/build-desktop.yml' - '.github/workflows/build-desktop.yml'
push: push:
branches: branches:
@ -18,6 +20,9 @@ on:
paths: paths:
- 'apps/desktop/**' - 'apps/desktop/**'
- 'libs/**' - 'libs/**'
- '*'
- '!*.md'
- '!*.txt'
- '.github/workflows/build-desktop.yml' - '.github/workflows/build-desktop.yml'
workflow_dispatch: workflow_dispatch:
inputs: {} inputs: {}

View File

@ -9,6 +9,9 @@ on:
paths: paths:
- 'apps/web/**' - 'apps/web/**'
- 'libs/**' - 'libs/**'
- '*'
- '!*.md'
- '!*.txt'
- '.github/workflows/build-web.yml' - '.github/workflows/build-web.yml'
push: push:
branches: branches:
@ -18,6 +21,9 @@ on:
paths: paths:
- 'apps/web/**' - 'apps/web/**'
- 'libs/**' - 'libs/**'
- '*'
- '!*.md'
- '!*.txt'
- '.github/workflows/build-web.yml' - '.github/workflows/build-web.yml'
workflow_dispatch: workflow_dispatch:
inputs: {} inputs: {}
@ -394,7 +400,7 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }} CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }}
CROWDIN_PROJECT_ID: "308189" CROWDIN_PROJECT_ID: "308189"
with: with:
config: apps/web/crowdin.yml config: apps/web/crowdin.yml
crowdin_branch_name: master crowdin_branch_name: master