Problem
setup-github-actions generates a notify-intent.yml workflow that dispatches a repository_dispatch event to TanStack/intent on every push to main. This requires a fine-grained PAT with contents:write on TanStack/intent, which third-party libraries cannot obtain.
The workflow is hardcoded to notify TanStack/intent:
- name: Dispatch to intent repo
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.INTENT_NOTIFY_TOKEN }}
repository: TanStack/intent # hardcoded
event-type: skill-check
Expected behavior
For libraries outside the TanStack org, either:
- Skip generating
notify-intent.yml entirely (the local check-skills.yml already handles staleness detection on release), or
- Make the target repository configurable (
--notify-repo flag or prompt), or
- Document that this workflow is TanStack-internal and not needed for third-party libraries
Current workaround
Delete the generated notify-intent.yml. The check-skills.yml workflow covers staleness detection independently.
Environment
@tanstack/intent: 0.0.19
- Monorepo: pnpm workspaces
Problem
setup-github-actionsgenerates anotify-intent.ymlworkflow that dispatches arepository_dispatchevent toTanStack/intenton every push to main. This requires a fine-grained PAT withcontents:writeonTanStack/intent, which third-party libraries cannot obtain.The workflow is hardcoded to notify
TanStack/intent:Expected behavior
For libraries outside the TanStack org, either:
notify-intent.ymlentirely (the localcheck-skills.ymlalready handles staleness detection on release), or--notify-repoflag or prompt), orCurrent workaround
Delete the generated
notify-intent.yml. Thecheck-skills.ymlworkflow covers staleness detection independently.Environment
@tanstack/intent: 0.0.19