From a3322745b5a6273e23356606d42b397f392828fc Mon Sep 17 00:00:00 2001 From: nitin <142569587+ehconitin@users.noreply.github.com> Date: Wed, 6 Aug 2025 16:30:00 +0530 Subject: [PATCH] revert ci changes on ci-breaking-changes (#13682) Screenshot 2025-08-06 at 16 27 36 --- .github/workflows/ci-breaking-changes.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/ci-breaking-changes.yaml b/.github/workflows/ci-breaking-changes.yaml index b9a291d0da..172b919b85 100644 --- a/.github/workflows/ci-breaking-changes.yaml +++ b/.github/workflows/ci-breaking-changes.yaml @@ -1,10 +1,7 @@ name: GraphQL and OpenAPI Breaking Changes Detection on: - # Using pull_request_target instead of pull_request to have access to secrets for external contributors - # Security note: This is safe because we're only analyzing API schemas and posting comments, - # not running untrusted code from the PR - pull_request_target: + pull_request: types: [opened, synchronize, edited] branches: - main @@ -21,7 +18,6 @@ permissions: contents: read pull-requests: write checks: write - issues: write jobs: changed-files-check: @@ -585,7 +581,6 @@ jobs: if: always() uses: actions/github-script@v7 with: - github-token: ${{ secrets.GITHUB_TOKEN }} script: | const fs = require('fs'); let hasChanges = false;