diff --git a/.github/workflows/build-deploy-preview.yml b/.github/workflows/build-deploy-preview.yml deleted file mode 100644 index 8add23fb47..0000000000 --- a/.github/workflows/build-deploy-preview.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/ci-test-limited-command.yml b/.github/workflows/ci-test-limited-command.yml deleted file mode 100644 index b4e360842e..0000000000 --- a/.github/workflows/ci-test-limited-command.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/.github/workflows/ok-to-test-with-documentdb.yml b/.github/workflows/ok-to-test-with-documentdb.yml deleted file mode 100644 index 3ed4ffdb93..0000000000 --- a/.github/workflows/ok-to-test-with-documentdb.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/ok-to-test.yml b/.github/workflows/ok-to-test.yml index 34818597ce..69dc60da61 100644 --- a/.github/workflows/ok-to-test.yml +++ b/.github/workflows/ok-to-test.yml @@ -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