diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f06e016c0f6..86f5fea03a81 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,13 +14,11 @@ on: types: [opened, synchronize] paths-ignore: - "**/*.md" - - '!.github/workflows/ci.yml' push: branches: - main paths-ignore: - "**/*.md" - - '!.github/workflows/ci.yml' tags-ignore: - "**" @@ -112,7 +110,6 @@ jobs: target: ${{ matrix.array.target }} runner: ${{ needs.get-runner-labels.outputs.MACOS_RUNNER_LABELS }} - cargo-deny: name: Check license of dependencies runs-on: ubuntu-latest @@ -286,10 +283,10 @@ jobs: uses: convictional/trigger-workflow-and-wait@v1.6.5 with: owner: ${{ github.repository_owner }} - repo: 'rspack-ecosystem-benchmark' - workflow_file_name: 'bench_rspack_commit.yml' + repo: "rspack-ecosystem-benchmark" + workflow_file_name: "bench_rspack_commit.yml" github_token: ${{ secrets.RSPACK_BOT_ACCESS_TOKEN }} - ref: 'main' + ref: "main" client_payload: '{"commit_sha":"${{ github.sha }}"}' run_ecosystem_ci: @@ -301,15 +298,24 @@ jobs: uses: convictional/trigger-workflow-and-wait@v1.6.5 with: owner: ${{ github.repository_owner }} - repo: 'rspack-ecosystem-ci' - workflow_file_name: 'ecosystem-ci-from-commit.yml' + repo: "rspack-ecosystem-ci" + workflow_file_name: "ecosystem-ci-from-commit.yml" github_token: ${{ secrets.ECOSYSTEM_CI_ACCESS_TOKEN }} - ref: 'main' + ref: "main" client_payload: '{"commitSHA":"${{ github.sha }}","repo":"web-infra-dev/rspack","suite":"-","suiteRefType":"precoded","suiteRef":"precoded"}' failure_notification: name: Failure Notification - needs: [test-linux, test-windows, test-mac, rust_check, rust_test, run_benchmark, run_ecosystem_ci] + needs: + [ + test-linux, + test-windows, + test-mac, + rust_check, + rust_test, + run_benchmark, + run_ecosystem_ci + ] if: ${{ failure() && !cancelled() && github.ref_name == 'main' && github.repository_owner == 'web-infra-dev' }} runs-on: ubuntu-latest steps: