ci: Remove all extra slash commands yml (#29016)

## Description
- This PR removes extra slash ymls

#### Type of change
- Yml file update fix (non-breaking change which fixes an issue)

## Checklist:
#### QA activity:
- [X] Added `Test Plan Approved` label after Cypress tests were reviewed
This commit is contained in:
Aishwarya-U-R 2023-11-22 15:29:59 +05:30 committed by GitHub
parent ee3eddea42
commit 84314baaf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 77 deletions

View File

@ -1,22 +0,0 @@
# If someone with write access comments "/build-deploy-preview" on a pull request, emit a repository_dispatch event
name: Build Deploy Preview
on:
issue_comment:
types: [created]
jobs:
build-deploy-preview:
runs-on: ubuntu-latest
# Only run for PRs, not issue comments
if: |
github.event.issue.pull_request
steps:
- name: Slash Command Dispatch
uses: peter-evans/slash-command-dispatch@v3
with:
issue-type: pull-request
token: ${{ secrets.APPSMITH_DEPLOY_PREVIEW_PAT }}
commands: |
build-deploy-preview

View File

@ -1,22 +0,0 @@
# If someone with write access comments "/ci-test-limit" on a pull request, emit a repository_dispatch event
name: CI Test Limited Command
on:
issue_comment:
types: [created]
jobs:
ci-test-limit:
runs-on: ubuntu-latest
# Only run for PRs, not issue comments
if: |
github.event.issue.pull_request
steps:
- name: Slash Command Dispatch
uses: peter-evans/slash-command-dispatch@v3
with:
issue-type: pull-request
token: ${{ secrets.APPSMITH_CI_TEST_PAT }}
commands: |
ci-test-limit

View File

@ -1,33 +0,0 @@
# If someone with write access comments "/ok-to-test" on a pull request, emit a repository_dispatch event
name: Ok To Test with DocumentDB
on:
issue_comment:
types: [created]
jobs:
ok-to-test:
runs-on: ubuntu-latest
# Only run for PRs, not issue comments
if: |
github.event.issue.pull_request
steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.APPSMITH_INTEGRATION_TESTING_ID }}
private_key: ${{ secrets.APPSMITH_INTEGRATION_TESTING_KEY }}
- if: contains(github.event.comment.body, '/ok-to-test-with-documentdb')
name: Slash Command Dispatch
uses: peter-evans/slash-command-dispatch@v3
env:
TOKEN: ${{ steps.generate_token.outputs.token }}
with:
token: ${{ env.TOKEN }} # GitHub App installation access token
reaction-token: ${{ secrets.GITHUB_TOKEN }}
issue-type: pull-request
commands: |
ok-to-test-with-documentdb
permission: write

View File

@ -31,4 +31,7 @@ jobs:
ok-to-test
perf-test
ci-merge-check
ci-test-limit
ok-to-test-with-documentdb
build-deploy-preview
permission: write