Sfoglia il codice sorgente

Don't run all workflows on tags

tags/pure-v9.5.5
Guillaume Vincent 2 anni fa
parent
commit
6c0b46ccb7
18 ha cambiato i file con 65 aggiunte e 27 eliminazioni
  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 Vedi File

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


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

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

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

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


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

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


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

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


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

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

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

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


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

@@ -1,6 +1,8 @@
name: lesspass-entropy-test name: lesspass-entropy-test
on: on:
push: push:
branches:
- main
paths: paths:
- "packages/lesspass-entropy/**" - "packages/lesspass-entropy/**"
pull_request: pull_request:
@@ -15,5 +17,5 @@ jobs:
with: with:
node-version: "14" node-version: "14"
- run: yarn install - 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 Vedi File

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


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

@@ -1,6 +1,8 @@
name: lesspass-fingerprint-test name: lesspass-fingerprint-test
on: on:
push: push:
branches:
- main
paths: paths:
- "packages/lesspass-fingerprint/**" - "packages/lesspass-fingerprint/**"
pull_request: pull_request:
@@ -16,5 +18,5 @@ jobs:
node-version: "14" node-version: "14"
registry-url: "https://registry.npmjs.org" registry-url: "https://registry.npmjs.org"
- run: yarn install - 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 Vedi File

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


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

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


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

@@ -1,6 +1,8 @@
name: lesspass-pure-test name: lesspass-pure-test
on: on:
push: push:
branches:
- main
paths: paths:
- "packages/lesspass-pure/**" - "packages/lesspass-pure/**"
pull_request: pull_request:
@@ -15,5 +17,5 @@ jobs:
with: with:
node-version: "14" node-version: "14"
- run: yarn install - 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 Vedi File

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


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

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


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

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

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

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


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

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


Caricamento…
Annulla
Salva