From 6cbd9d7575f9384fabcaaa44bf72f8374dec19ce Mon Sep 17 00:00:00 2001 From: Jirka Borovec Date: Tue, 19 Jul 2022 19:25:14 +0200 Subject: [PATCH] CI: fix ignored paths (#13733) --- .github/workflows/ci-app_cloud_e2e_test.yml | 4 ++-- .github/workflows/ci-app_examples.yml | 9 ++------- .github/workflows/ci-app_tests.yml | 3 +-- .github/workflows/ci_pkg-install.yml | 2 -- .github/workflows/cicd-pytorch_dockers.yml | 3 +-- .github/workflows/release-pypi.yml | 1 + 6 files changed, 7 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci-app_cloud_e2e_test.yml b/.github/workflows/ci-app_cloud_e2e_test.yml index 341c2dc20e83d..3abdf9c92ba5e 100644 --- a/.github/workflows/ci-app_cloud_e2e_test.yml +++ b/.github/workflows/ci-app_cloud_e2e_test.yml @@ -4,9 +4,9 @@ name: cloud-testing on: # Trigger the workflow on push or pull request, but only for the master branch push: - branches: - - "master" + branches: [master, "release/*"] pull_request: + branches: [master, "release/*"] concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} diff --git a/.github/workflows/ci-app_examples.yml b/.github/workflows/ci-app_examples.yml index d14e49605efa5..34808ae75767e 100644 --- a/.github/workflows/ci-app_examples.yml +++ b/.github/workflows/ci-app_examples.yml @@ -3,14 +3,9 @@ name: Test App - examples # see: https://help.github.com/en/actions/reference/events-that-trigger-workflows on: # Trigger the workflow on push or pull request, but only for the master branch push: - branches: - - "master" + branches: [master, "release/*"] pull_request: - paths: - - "src/lightning_app/**" - - "tests/tests_app_examples/**" - - "requirements/app/**" - - "setup.py" + branches: [master, "release/*"] concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} diff --git a/.github/workflows/ci-app_tests.yml b/.github/workflows/ci-app_tests.yml index ea4d09920b592..73326436abf67 100644 --- a/.github/workflows/ci-app_tests.yml +++ b/.github/workflows/ci-app_tests.yml @@ -3,8 +3,7 @@ name: Test App # see: https://help.github.com/en/actions/reference/events-that-trigger-workflows on: # Trigger the workflow on push or pull request, but only for the master branch push: - branches: - - "master" + branches: [master, "release/*"] pull_request: paths: - "src/lightning_app/**" diff --git a/.github/workflows/ci_pkg-install.yml b/.github/workflows/ci_pkg-install.yml index c2df822d502de..2c32efcf0bf86 100644 --- a/.github/workflows/ci_pkg-install.yml +++ b/.github/workflows/ci_pkg-install.yml @@ -6,8 +6,6 @@ on: # Trigger the workflow on push or pull request, but only for the master bra branches: [master, "release/*"] pull_request: branches: [master, "release/*"] - paths-ignore: - - "src/lightning_app/**" # todo: implement job skip concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} diff --git a/.github/workflows/cicd-pytorch_dockers.yml b/.github/workflows/cicd-pytorch_dockers.yml index 094086857ae2e..3d7bb6fc363e9 100644 --- a/.github/workflows/cicd-pytorch_dockers.yml +++ b/.github/workflows/cicd-pytorch_dockers.yml @@ -8,11 +8,10 @@ on: paths: - "dockers/**" - "!dockers/README.md" - - "requirements/*" + - "requirements/**" - "requirements.txt" - "environment.yml" - ".github/workflows/*docker*.yml" - - ".github/workflows/events-nightly.yml" - "setup.py" schedule: - cron: "0 0 * * *" # at the end of every day diff --git a/.github/workflows/release-pypi.yml b/.github/workflows/release-pypi.yml index 05a670dff25d3..eae9da931c88f 100644 --- a/.github/workflows/release-pypi.yml +++ b/.github/workflows/release-pypi.yml @@ -183,6 +183,7 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} publish-package: + # fixme: each package needs to be signed with own auth token runs-on: ubuntu-20.04 needs: build-meta-pkg if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'