name: Trigger Jetbrains Plugin <-> Cline Tests on: pull_request: types: [opened, synchronize, reopened] permissions: contents: read concurrency: group: jetbrains-trigger-${{ github.event.number }} cancel-in-progress: true jobs: trigger-integration-test: name: Run Tests runs-on: ubuntu-latest steps: - name: Generate GitHub App Token id: app-token uses: actions/create-github-app-token@v1 with: app-id: 1998650 private-key: ${{ secrets.CLINE_JETBRAINS_WORKFLOW_KEY }} owner: cline repositories: intellij-plugin - name: Trigger IntelliJ Plugin Integration Test run: | curl -X POST \ -H "Authorization: Bearer ${{ steps.app-token.outputs.token }}" \ -H "Accept: application/vnd.github.v3+json" \ -H "User-Agent: cline-pr-trigger" \ -H "Content-Type: application/json" \ https://api.github.com/repos/cline/intellij-plugin/dispatches \ -d @- <