We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b68e5f3 commit 49420f0Copy full SHA for 49420f0
1 file changed
.github/workflows/plugin-ci-workflow.yml
@@ -255,4 +255,17 @@ jobs:
255
else
256
phpstan analyse --no-progress --error-format=github || true
257
fi
258
- continue-on-error: true
+ continue-on-error: true
259
+
260
261
+ - name: Call Code Quality Agent
262
+ if: github.event_name == 'pull_request'
263
+ env:
264
+ AGENT_URL: ${{ secrets.CODE_QUALITY_AGENT_URL }}
265
+ AGENT_TOKEN: ${{ secrets.CODE_QUALITY_AGENT_TOKEN }}
266
+ run: |
267
+ echo "Calling Code Quality Specialist agent for this PR..."
268
+ curl -sS -X POST "$AGENT_URL/run_agent" \
269
+ -H "Authorization: Bearer $AGENT_TOKEN" \
270
+ -H "Content-Type: application/json" \
271
+ -d "{\"repo\":\"${{ github.repository }}\",\"pr\":${{ toJson(github.event.pull_request)}}}" || true
0 commit comments