You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Add eval-skill-passed label (triggers main CI re-run)
92
-
if: steps.eval.outcome == 'success'
59
+
- name: Add comment with instructions
93
60
env:
94
-
GH_TOKEN: ${{ steps.token.outputs.token }}
61
+
GH_TOKEN: ${{ github.token }}
95
62
run: |
96
-
gh api "repos/${{ github.repository }}/issues/${{ github.event.number }}/labels" \
97
-
--input - <<< '{"labels":["eval-skill-passed"]}'
63
+
gh api "repos/${{ github.repository }}/issues/${{ github.event.number }}/comments" \
64
+
-f body="⚠️ **Security Notice**: Automated skill evaluation is disabled for fork PRs to prevent potential secret exfiltration.
65
+
66
+
For security reasons, this workflow was updated to not execute untrusted code from fork PRs with access to repository secrets. A maintainer with write access can manually trigger the evaluation by:
67
+
68
+
1. Checking out the PR branch locally
69
+
2. Running \`bun run eval:skill\` with appropriate API credentials
70
+
3. Reviewing the results and adding the \`eval-skill-passed\` label if successful
71
+
72
+
See [GitHub Security Lab: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/) for more information about this security issue."
0 commit comments