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.
This commit is contained in:
amithkoujalgi 2025-03-11 10:19:34 +05:30
parent 1dadbacd2c
commit ee0493eb57
No known key found for this signature in database
GPG Key ID: E29A37746AF94B70
2 changed files with 4 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created # 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 # 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: on:
pull_request: pull_request:

View File

@ -1,10 +1,9 @@
name: Run Unit and Integration Tests name: Run Unit and Integration Tests
on: on:
push: # push:
branches: # branches:
- main # - main
workflow_dispatch: workflow_dispatch:
inputs: inputs:
branch: branch: