diff --git a/.github/workflows/assign-author.yml b/.github/workflows/assign-author.yml index 40c945f32def0..0fa106b1e62ca 100644 --- a/.github/workflows/assign-author.yml +++ b/.github/workflows/assign-author.yml @@ -1,6 +1,6 @@ name: 🤖 PR author as an assignee on: - pull_request: + workflow_dispatch: jobs: assign: diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index cca86f9586c9f..fec6779199c09 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -1,6 +1,6 @@ name: 🤖 PR auto merge on: - pull_request: + workflow_dispatch: env: PR_JOBS_NAME: '[ "Build packages", "Firebase", "Lint", "Unit tests", "Component testing result", "E2E result" ]' diff --git a/.github/workflows/auto-update-icons.yml b/.github/workflows/auto-update-icons.yml index 2ed2cb6439593..9e05efdd81267 100644 --- a/.github/workflows/auto-update-icons.yml +++ b/.github/workflows/auto-update-icons.yml @@ -1,6 +1,5 @@ name: 🤖 Auto update bundled & used icons on: - pull_request: workflow_dispatch: jobs: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f92a98951997a..b4503b9fbc003 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,5 @@ name: ⚙️ Build on: - pull_request: push: branches: [main] diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index 73928ba7c0409..00a9b2faa6db0 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -1,5 +1,5 @@ name: 🚀 Deploy / preview -on: pull_request +on: workflow_dispatch jobs: build_and_preview: diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 4d4d66214c055..9ff44c320bfe9 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -46,6 +46,7 @@ jobs: rm -r node_modules find . -mindepth 1 -type f -not -path "**/demo-cypress/**/snapshots/baseline/**" -delete find . -type d -empty -delete + cp -r ${{env.CYPRESS_BASELINE_SNAPSHOTS }}/. temp-storage tree . - uses: actions/checkout@v4.2.0 @@ -56,7 +57,7 @@ jobs: - name: Run tests for current state run: | - tree ${{env.CYPRESS_BASELINE_SNAPSHOTS}} + tree . -L 1 npx nx component-test demo-cypress - name: Prepare diff screenshots diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 138398b292fa0..208b5302d4747 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,6 +1,5 @@ name: ⚙️ Lint on: - pull_request: push: branches: [main] diff --git a/.github/workflows/schematic.yml b/.github/workflows/schematic.yml index 3f57a4a879471..5498681e20fdb 100644 --- a/.github/workflows/schematic.yml +++ b/.github/workflows/schematic.yml @@ -1,6 +1,6 @@ name: ⚙️ Schematics on: - pull_request: + workflow_dispatch: jobs: schematics: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 41701a3bd1539..5dd1fb83b07bf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,5 @@ name: ⚙️ Unit tests on: - pull_request: push: branches: - main