revert ci changes on ci-breaking-changes (#13682)

<img width="990" height="513" alt="Screenshot 2025-08-06 at 16 27 36"
src="https://github.com/user-attachments/assets/23a99dab-09cf-4978-8c10-5d8a2f7a84c9"
/>
This commit is contained in:
nitin
2025-08-06 16:30:00 +05:30
committed by GitHub
parent 60257a9701
commit a3322745b5
+1 -6
View File
@@ -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;