Skip to content

Action Outputs

After a triage run, these outputs are available for subsequent workflow steps. Use them to chain SWEny into larger workflows — post to Slack, update a dashboard, or gate a deployment.

OutputTypeDescription
issues-found"true" / "false"Whether SWEny found novel issues in the logs
recommendationstringWhat SWEny decided: implement, +1 existing ENG-123, or skip
issue-identifierstringIssue created or found (e.g., ENG-456). Empty if skipped
issue-urlstringFull URL to the issue. Empty if skipped
pr-urlstringPull request URL. Empty if dry-run or no fix was written
pr-numberstringPull request number. Empty if no PR was created
ValueMeaning
implementSWEny found a novel issue, filed a ticket, and opened a PR
+1 existing ENG-123A matching issue already exists — SWEny added an occurrence comment
skipNo novel issues found above the threshold
steps:
- uses: swenyai/sweny@v0.2
id: triage
with:
claude-oauth-token: ${{ secrets.CLAUDE_OAUTH_TOKEN }}
# ... other inputs
- if: steps.triage.outputs.pr-url != ''
uses: slackapi/slack-github-action@v2
with:
webhook: ${{ secrets.SLACK_WEBHOOK }}
webhook-type: incoming-webhook
payload: |
text: "SWEny opened a fix: ${{ steps.triage.outputs.pr-url }} for ${{ steps.triage.outputs.issue-identifier }}"
- if: steps.triage.outputs.issues-found == 'true'
run: |
echo "::warning::SWEny found issues — review ${{ steps.triage.outputs.issue-url }} before deploying"
- if: steps.triage.outputs.recommendation == 'skip'
run: echo "All clear — no novel issues"