Browse Source

Don't run all workflows on tags

tags/pure-v9.5.5
Guillaume Vincent 2 years ago
parent
commit
6c0b46ccb7
18 changed files with 65 additions and 27 deletions
  1. +4
    -2
      .github/workflows/cli-publish.yml
  2. +5
    -2
      .github/workflows/cli-test.yml
  3. +5
    -2
      .github/workflows/containers-publish.yml
  4. +3
    -1
      .github/workflows/containers-test.yml
  5. +4
    -2
      .github/workflows/lesspass-crypto-publish.yml
  6. +3
    -1
      .github/workflows/lesspass-crypto-test.yml
  7. +4
    -2
      .github/workflows/lesspass-entropy-publish.yml
  8. +4
    -2
      .github/workflows/lesspass-entropy-test.yml
  9. +4
    -2
      .github/workflows/lesspass-fingerprint-publish.yml
  10. +4
    -2
      .github/workflows/lesspass-fingerprint-test.yml
  11. +4
    -2
      .github/workflows/lesspass-publish.yml
  12. +4
    -2
      .github/workflows/lesspass-pure-publish.yml
  13. +4
    -2
      .github/workflows/lesspass-pure-test.yml
  14. +4
    -2
      .github/workflows/lesspass-render-password-publish.yml
  15. +2
    -0
      .github/workflows/lesspass-render-password-test.yml
  16. +3
    -1
      .github/workflows/lesspass-test.yml
  17. +2
    -0
      .github/workflows/lesspass-web-extension-publish.yml
  18. +2
    -0
      .github/workflows/mobile-test.yml

+ 4
- 2
.github/workflows/cli-publish.yml View File

@@ -1,8 +1,10 @@
name: cli-publish
on:
workflow_run:
workflows: ["cli-test"]
branches: [main]
workflows:
- "cli-test"
branches:
- main
types:
- completed
jobs:


+ 5
- 2
.github/workflows/cli-test.yml View File

@@ -1,6 +1,8 @@
name: cli-test
on:
push:
branches:
- main
paths:
- "cli/**"
pull_request:
@@ -20,5 +22,6 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- run: cd cli
- run: ./test
- run: |
cd cli
./test

+ 5
- 2
.github/workflows/containers-publish.yml View File

@@ -1,12 +1,15 @@
name: containers-publish
on:
workflow_run:
workflows: ["containers-test"]
branches: [main]
workflows:
- "containers-test"
branches:
- main
types:
- completed
jobs:
publish:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2


+ 3
- 1
.github/workflows/containers-test.yml View File

@@ -1,6 +1,8 @@
name: containers-test
on:
push:
branches:
- main
paths:
- "containers/**"
- "packages/lesspass-site/**"
@@ -29,7 +31,7 @@ jobs:
with:
node-version: "14"
- run: yarn install
- run: yarn workspace lesspass-site run test
- run: yarn workspace lesspass-site test
test-integration:
runs-on: ubuntu-18.04
steps:


+ 4
- 2
.github/workflows/lesspass-crypto-publish.yml View File

@@ -1,8 +1,10 @@
name: lesspass-crypto-publish
on:
workflow_run:
workflows: ["lesspass-crypto-test"]
branches: [main]
workflows:
- "lesspass-crypto-test"
branches:
- main
types:
- completed
jobs:


+ 3
- 1
.github/workflows/lesspass-crypto-test.yml View File

@@ -1,6 +1,8 @@
name: lesspass-crypto-test
on:
push:
branches:
- main
paths:
- "packages/lesspass-crypto/**"
pull_request:
@@ -15,4 +17,4 @@ jobs:
with:
node-version: "14"
- run: yarn install
- run: yarn workspace lesspass-crypto run test
- run: yarn workspace lesspass-crypto test

+ 4
- 2
.github/workflows/lesspass-entropy-publish.yml View File

@@ -1,8 +1,10 @@
name: lesspass-entropy-publish
on:
workflow_run:
workflows: ["lesspass-entropy-test"]
branches: [main]
workflows:
- "lesspass-entropy-test"
branches:
- main
types:
- completed
jobs:


+ 4
- 2
.github/workflows/lesspass-entropy-test.yml View File

@@ -1,6 +1,8 @@
name: lesspass-entropy-test
on:
push:
branches:
- main
paths:
- "packages/lesspass-entropy/**"
pull_request:
@@ -15,5 +17,5 @@ jobs:
with:
node-version: "14"
- run: yarn install
- run: yarn workspace lesspass-crypto run build
- run: yarn workspace lesspass-entropy run test
- run: yarn workspace lesspass-crypto build
- run: yarn workspace lesspass-entropy test

+ 4
- 2
.github/workflows/lesspass-fingerprint-publish.yml View File

@@ -1,8 +1,10 @@
name: lesspass-fingerprint-publish
on:
workflow_run:
workflows: ["lesspass-fingerprint-test"]
branches: [main]
workflows:
- "lesspass-fingerprint-test"
branches:
- main
types:
- completed
jobs:


+ 4
- 2
.github/workflows/lesspass-fingerprint-test.yml View File

@@ -1,6 +1,8 @@
name: lesspass-fingerprint-test
on:
push:
branches:
- main
paths:
- "packages/lesspass-fingerprint/**"
pull_request:
@@ -16,5 +18,5 @@ jobs:
node-version: "14"
registry-url: "https://registry.npmjs.org"
- run: yarn install
- run: yarn workspace lesspass-crypto run build
- run: yarn workspace lesspass-fingerprint run test
- run: yarn workspace lesspass-crypto build
- run: yarn workspace lesspass-fingerprint test

+ 4
- 2
.github/workflows/lesspass-publish.yml View File

@@ -1,8 +1,10 @@
name: lesspass-publish
on:
workflow_run:
workflows: ["lesspass-test"]
branches: [main]
workflows:
- "lesspass-test"
branches:
- main
types:
- completed
jobs:


+ 4
- 2
.github/workflows/lesspass-pure-publish.yml View File

@@ -1,8 +1,10 @@
name: lesspass-pure-publish
on:
workflow_run:
workflows: ["lesspass-pure-test"]
branches: [main]
workflows:
- "lesspass-pure-test"
branches:
- main
types:
- completed
jobs:


+ 4
- 2
.github/workflows/lesspass-pure-test.yml View File

@@ -1,6 +1,8 @@
name: lesspass-pure-test
on:
push:
branches:
- main
paths:
- "packages/lesspass-pure/**"
pull_request:
@@ -15,5 +17,5 @@ jobs:
with:
node-version: "14"
- run: yarn install
- run: yarn workspace lesspass-crypto run build
- run: yarn workspace lesspass-pure run test
- run: yarn workspace lesspass-crypto build
- run: yarn workspace lesspass-pure test

+ 4
- 2
.github/workflows/lesspass-render-password-publish.yml View File

@@ -1,8 +1,10 @@
name: lesspass-render-password-publish
on:
workflow_run:
workflows: ["lesspass-render-password-test"]
branches: [main]
workflows:
- "lesspass-render-password-test"
branches:
- main
types:
- completed
jobs:


+ 2
- 0
.github/workflows/lesspass-render-password-test.yml View File

@@ -1,6 +1,8 @@
name: lesspass-render-password-test
on:
push:
branches:
- main
paths:
- "packages/lesspass-render-password/**"
pull_request:


+ 3
- 1
.github/workflows/lesspass-test.yml View File

@@ -1,6 +1,8 @@
name: lesspass-test
on:
push:
branches:
- main
paths:
- "packages/lesspass/**"
pull_request:
@@ -15,4 +17,4 @@ jobs:
with:
node-version: "14"
- run: yarn install
- run: yarn workspace lesspass run test
- run: yarn workspace lesspass test

+ 2
- 0
.github/workflows/lesspass-web-extension-publish.yml View File

@@ -1,6 +1,8 @@
name: lesspass-web-extension-publish
on:
push:
branches:
- main
paths:
- "packages/lesspass-web-extension/**"
jobs:


+ 2
- 0
.github/workflows/mobile-test.yml View File

@@ -1,6 +1,8 @@
name: mobile-test
on:
push:
branches:
- main
paths:
- "mobile/**"
pull_request:


Loading…
Cancel
Save