actions-authoring
Installation
SKILL.md
Actions Authoring
Security first — the three that actually get exploited
1. pull_request_target with a PR-head checkout
# CRITICAL — a fork PR gets write-scoped secrets
on: pull_request_target
jobs:
test:
steps:
- uses: actions/checkout@v4
with: { ref: ${{ github.event.pull_request.head.sha }} }
- run: npm test # attacker's code, your secrets