chore: remove the if condition as not supported in workflow file (#38015)

## Description
Remove the if condition in workflow as it is not supported

## Automation

/ok-to-test tags="@tag.Sanity"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!IMPORTANT]
> 🟣 🟣 🟣 Your tests are running.
> Tests running at:
<https://github.com/appsmithorg/appsmith/actions/runs/12249995808>
> Commit: b8e6ff5d395411dec84ac710ad1009c251c09488
> Workflow: `PR Automation test suite`
> Tags: `@tag.Sanity`
> Spec: ``
> <hr>Tue, 10 Dec 2024 05:27:10 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced manual triggering for CI tests with input options for pull
request numbers and previous workflow run IDs.
- **Improvements**
	- Enhanced environment setup and caching mechanisms for Docker images.
- Refined Cypress test setup for better dependency management and
logging.
- **Bug Fixes**
- Improved job conditions for running tests based on repository name and
event types.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Anagh Hegde 2024-12-10 11:07:24 +05:30 committed by GitHub
parent 49bed912a2
commit 2d33a04146
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,20 +41,15 @@ jobs:
# Service containers to run with this job. Required for running tests
services:
# Label used to access the service container
redis:
# Docker Hub image for Redis
image: redis
ports:
# Opens tcp port 6379 on the host and service container
- 6379:6379
postgres:
if: github.base_ref == 'pg' || github.ref_name == 'pg'
image: postgres:14
ports:
- 5432:5432
mongo:
if: github.base_ref == 'release' || github.ref_name == 'release'
image: mongo
ports:
- 27017:27017