From 203b9aa68c7e7d378073209006d17596be12da7c Mon Sep 17 00:00:00 2001 From: Shwetha Gururaj Date: Tue, 10 Jun 2025 14:26:08 -0400 Subject: [PATCH 1/4] Test release workflow --- .github/workflows/test.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000000..51f68e8efb1 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,32 @@ +name: "Test" + +permissions: + contents: write + +defaults: + run: + shell: bash + +on: + workflow_dispatch: + +jobs: + setup: + name: Setup + runs-on: ubuntu-latest + + steps: + - name: Checkout cli + uses: actions/checkout@v4 + + - name: Create draft release + uses: softprops/action-gh-release@v2 + with: + draft: true + name: "DRAFT test" + tag_name: "vTest" + fail_on_unmatched_files: true + generate_release_notes: true + files: | + Makefile + README.md From e449e449cdb60dec74c11275eaa83ded5dc5ed9c Mon Sep 17 00:00:00 2001 From: Shwetha Gururaj Date: Mon, 14 Jul 2025 11:28:17 -0400 Subject: [PATCH 2/4] Remove test yml --- .github/workflows/test.yml | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 51f68e8efb1..00000000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: "Test" - -permissions: - contents: write - -defaults: - run: - shell: bash - -on: - workflow_dispatch: - -jobs: - setup: - name: Setup - runs-on: ubuntu-latest - - steps: - - name: Checkout cli - uses: actions/checkout@v4 - - - name: Create draft release - uses: softprops/action-gh-release@v2 - with: - draft: true - name: "DRAFT test" - tag_name: "vTest" - fail_on_unmatched_files: true - generate_release_notes: true - files: | - Makefile - README.md From d2b549bdada410db694400289cca05e94b1caf6e Mon Sep 17 00:00:00 2001 From: Shwetha Gururaj Date: Tue, 15 Jul 2025 09:28:24 -0400 Subject: [PATCH 3/4] Run tests for PRs --- .github/workflows/tests-integration.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests-integration.yml b/.github/workflows/tests-integration.yml index 9dd085b8e61..d98f7ecafc9 100644 --- a/.github/workflows/tests-integration.yml +++ b/.github/workflows/tests-integration.yml @@ -101,7 +101,7 @@ jobs: needs: - get-sha - set-env-name - if: ${{ always() && (inputs.workflow == 'all' || inputs.workflow == 'run-integration-tests-cf-env') }} + if: ${{ always() && (github.event_name != 'workflow_dispatch' || inputs.workflow == 'all' || inputs.workflow == 'run-integration-tests-cf-env') }} uses: ./.github/workflows/tests-integration-reusable.yml with: name: Integration @@ -115,7 +115,7 @@ jobs: needs: - get-sha - set-env-name - if: ${{ always() && (inputs.workflow == 'all' || inputs.workflow == 'run-integration-tests-cf-env-with-client-creds') }} + if: ${{ always() && (github.event_name != 'workflow_dispatch' || inputs.workflow == 'all' || inputs.workflow == 'run-integration-tests-cf-env-with-client-creds') }} uses: ./.github/workflows/tests-integration-reusable.yml with: name: Integration client creds From 19315e8c837d678956bc3d0b0b3078cb97c8dfbd Mon Sep 17 00:00:00 2001 From: Shwetha Gururaj Date: Tue, 15 Jul 2025 10:38:52 -0400 Subject: [PATCH 4/4] debug --- .github/workflows/tests-integration.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests-integration.yml b/.github/workflows/tests-integration.yml index d98f7ecafc9..52f1b1e4d8f 100644 --- a/.github/workflows/tests-integration.yml +++ b/.github/workflows/tests-integration.yml @@ -49,6 +49,7 @@ jobs: echo "checkout else ${{ github.event.workflow_run.head_sha }}" echo "ref=${{github.event.workflow_run.head_sha}}" >> $GITHUB_OUTPUT fi + echo "Event: ${{ github.event_name }}, Workflow Input: ${{ github.event.inputs.workflow }}" units: name: Basic units to gate for integration tests runs-on: ubuntu-latest