From ee0493eb57bcf5d29280c6d7f5f2f64087d97c9d Mon Sep 17 00:00:00 2001 From: amithkoujalgi Date: Tue, 11 Mar 2025 10:19:34 +0530 Subject: [PATCH] Rename and adjust workflows for PR builds and testing. Renamed the PR-related workflow for clarity and replaced `build-on-pr-create.yml` with `build-and-test-on-pr-open.yml` for better naming consistency. Also commented out the push trigger in `run-tests.yml` to refine its activation criteria. --- ...uild-on-pr-create.yml => build-and-test-on-pr-open.yml} | 2 +- .github/workflows/run-tests.yml | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) rename .github/workflows/{build-on-pr-create.yml => build-and-test-on-pr-open.yml} (97%) diff --git a/.github/workflows/build-on-pr-create.yml b/.github/workflows/build-and-test-on-pr-open.yml similarity index 97% rename from .github/workflows/build-on-pr-create.yml rename to .github/workflows/build-and-test-on-pr-open.yml index f935dda..22a4f52 100644 --- a/.github/workflows/build-on-pr-create.yml +++ b/.github/workflows/build-and-test-on-pr-open.yml @@ -1,7 +1,7 @@ # This workflow will build a package using Maven and then publish it to GitHub packages when a release is created # For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path -name: Build on PR Create +name: Build and Test on PR Open on: pull_request: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 294e2f5..9ba1114 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,10 +1,9 @@ name: Run Unit and Integration Tests on: - push: - branches: - - main - +# push: +# branches: +# - main workflow_dispatch: inputs: branch: