Update .gitea/workflows/agent.yml
This commit is contained in:
@@ -6,6 +6,18 @@ on:
|
|||||||
workflow_call:
|
workflow_call:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
|
debug:
|
||||||
|
runs-on: ci-runner
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
echo "event_name=[${{ github.event_name }}]"
|
||||||
|
echo "issue.user.login=[${{ github.event.issue.user.login }}]"
|
||||||
|
echo "comment.user.login=[${{ github.event.comment.user.login }}]"
|
||||||
|
echo "comment.body=[${{ github.event.comment.body }}]"
|
||||||
|
echo "--- raw event ---"
|
||||||
|
cat "$GITHUB_EVENT_PATH"
|
||||||
|
|
||||||
agent:
|
agent:
|
||||||
# Trusted author only, and only when a known agent is mentioned. This gate is the main
|
# Trusted author only, and only when a known agent is mentioned. This gate is the main
|
||||||
# defense against malicious-issue prompt injection — do not loosen it.
|
# defense against malicious-issue prompt injection — do not loosen it.
|
||||||
|
|||||||
Reference in New Issue
Block a user