ci: Tighten /format command trigger conditions#201
Conversation
Use exact match and add author_association check for the /format comment command workflow.
|
|
All contributors have signed the CLA ✍️ ✅ |
There was a problem hiding this comment.
Pull request overview
Tightens the GitHub Actions /format comment-command workflow so it triggers only on an exact /format comment and only when posted by trusted repository-associated users.
Changes:
- Switches the trigger condition from substring match to exact match on
github.event.comment.body == '/format'. - Adds an
author_associationgate allowing onlyMEMBER,OWNER, orCOLLABORATORto trigger the job.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
I have read the CLA Document and I hereby sign the CLA |
@emdash-cms/admin
@emdash-cms/auth
@emdash-cms/blocks
@emdash-cms/cloudflare
emdash
create-emdash
@emdash-cms/gutenberg-to-portable-text
@emdash-cms/x402
@emdash-cms/plugin-ai-moderation
@emdash-cms/plugin-atproto
@emdash-cms/plugin-audit-log
@emdash-cms/plugin-color
@emdash-cms/plugin-embeds
@emdash-cms/plugin-forms
@emdash-cms/plugin-webhook-notifier
commit: |
What does this PR do?
Tighten /format command trigger conditions
Type of change
Checklist
pnpm typecheckpassespnpm --silent lint:json | jq '.diagnostics | length'returns 0pnpm testpasses (or targeted tests for my change)pnpm formathas been runAI-generated code disclosure
Screenshots / test output