diff options
author | Joas Schilling <coding@schilljs.com> | 2022-11-09 08:51:33 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-11-09 08:51:33 +0100 |
commit | ba93631a25bf9e5bdf2e3506c2847c96f65185a7 (patch) | |
tree | 31143d07c7021f06c6eb11210136814c62f99c5f /.github | |
parent | cf74e0cac5d40ae5255f1912e07a552a9f2a5450 (diff) |
Limit running the JS workflows
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/jest.yml | 8 | ||||
-rw-r--r-- | .github/workflows/node.yml | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/jest.yml b/.github/workflows/jest.yml index 238c8fe4b..65668aa16 100644 --- a/.github/workflows/jest.yml +++ b/.github/workflows/jest.yml @@ -2,6 +2,14 @@ name: Jest on: pull_request: + paths: + - '.github/workflows/**' + - 'src/**' + - 'appinfo/info.xml' + - 'package.json' + - 'package-lock.json' + - 'tsconfig.json' + - '**.js' concurrency: group: jest-${{ github.head_ref || github.run_id }} diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 7ccac97a4..3c91e598d 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -7,6 +7,14 @@ name: Node on: pull_request: + paths: + - '.github/workflows/**' + - 'src/**' + - 'appinfo/info.xml' + - 'package.json' + - 'package-lock.json' + - 'tsconfig.json' + - '**.js' permissions: contents: read |