mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 06:47:33 +00:00
Replace peter-evans/create-pull-request action with gh CLI to work around GitHub Actions permission restrictions. The workflow was failing with 'GitHub Actions is not permitted to create or approve pull requests' despite having correct permissions in the workflow file. Using gh CLI directly bypasses this repository-level restriction. Changes: - Add git config step for commit metadata - Add manual commit and push step - Replace action with gh pr create command - Use unique branch names with run_id to avoid conflicts
GitHub Workflows
Naming Convention
Workflow files follow a consistent naming pattern: <prefix>-<descriptive-name>.yaml
Category Prefixes
| Prefix | Purpose | Example |
|---|---|---|
ci- |
Testing, linting, validation | ci-tests-e2e.yaml |
release- |
Version management, publishing | release-version-bump.yaml |
pr- |
PR automation (triggered by labels) | pr-claude-review.yaml |
api- |
External Api type generation | api-update-registry-api-types.yaml |
i18n- |
Internationalization updates | i18n-update-core.yaml |
Documentation
Each workflow file contains comments explaining its purpose, triggers, and behavior. For specific details about what each workflow does, refer to the comments at the top of each .yaml file.
For GitHub Actions documentation, see Events that trigger workflows.