mirror of
https://github.com/danielmiessler/Fabric.git
synced 2026-01-09 14:28:01 -05:00
feat: change push behavior from opt-out to opt-in with GitHub token auth
## CHANGES - Change `NoPush` config field to `Push` boolean - Update CLI flag from `--no-push` to `--push` - Add GitHub token authentication for push operations - Import `os` and HTTP transport packages - Reverse push logic to require explicit enable - Update documentation for new push behavior - Add automatic GitHub repository detection for auth
This commit is contained in:
@@ -89,7 +89,7 @@ graph TD
|
||||
|
||||
4. **Auto-commit**:
|
||||
- Commit file with message: `chore: incoming 1672 changelog entry`
|
||||
- Push to current branch
|
||||
- Optionally push to current branch (use `--push` flag)
|
||||
|
||||
(The PR is now completely ready to be merged with integrated CHANGELOG entry updating)
|
||||
|
||||
@@ -274,8 +274,11 @@ Update `.github/workflows/update-version-and-create-tag.yml`.
|
||||
1. **During Development**:
|
||||
|
||||
```bash
|
||||
# After PR is ready for review
|
||||
generate_changelog --incoming-pr 1672
|
||||
# After PR is ready for review (commit locally only)
|
||||
generate_changelog --incoming-pr 1672 --ai-summarize
|
||||
|
||||
# Or to automatically push to remote
|
||||
generate_changelog --incoming-pr 1672 --ai-summarize --push
|
||||
```
|
||||
|
||||
2. **Validation**:
|
||||
|
||||
Reference in New Issue
Block a user