You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixes mitlify script to repull before pushing new updates (#529)
## Summary
Add a `git pull` command before committing changes in the Mintlify changelog push script to prevent potential merge conflicts.
## Changes
- Added a `git pull origin main` command before the commit step in the push-mintlify-changelog.sh script
- This ensures the local repository is up-to-date with the remote main branch before committing changelog changes
- Helps prevent merge conflicts when multiple changelog updates happen in parallel
## Type of change
- [x] Bug fix
- [ ] Feature
- [ ] Refactor
- [ ] Documentation
- [x] Chore/CI
## Affected areas
- [ ] Core (Go)
- [ ] Transports (HTTP)
- [ ] Providers/Integrations
- [ ] Plugins
- [ ] UI (Next.js)
- [x] Docs
## How to test
Run the changelog push script and verify it pulls the latest changes before committing:
```sh
cd .github/workflows/scripts
./push-mintlify-changelog.sh <version>
```
## Breaking changes
- [ ] Yes
- [x] No
## Related issues
Prevents potential merge conflicts when multiple changelog updates are processed simultaneously.
## Security considerations
No security implications.
## Checklist
- [x] I read `docs/contributing/README.md` and followed the guidelines
- [x] I added/updated tests where appropriate
- [x] I updated documentation where needed
- [x] I verified builds succeed (Go and UI)
- [x] I verified the CI pipeline passes locally if applicable
0 commit comments