Commit Graph
10 Commits
Author SHA1 Message Date
Søren Lund 11d0d131dd ci: add CODEBERG_TOKEN and support custom push URL
- Add CODEBERG_TOKEN secret to pipeline environment
- Update add_and_push to accept optional push URL and set remote
- Pass authenticated Codeberg URL to add_and_push in pipeline
2026-05-21 13:40:16 +02:00
Søren Lund 62cfaad8ac feat(scripts): add get_branch function to git_lib.sh
- Add get_branch to retrieve current git branch or default to main
- Handle detached HEAD state by returning main as branch name
2026-05-21 13:34:39 +02:00
Søren Lund c7810c2300 chore(ci): add auto-commit and push for summary updates
- Pipe summary output to SUMMARY.md in CI workflow
- Add add_and_push function to automate commit and push of summary
- Update Woodpecker step to use new summary commit automation
2026-05-21 13:28:50 +02:00
Søren Lund aea85794bd fix(scripts): use env var for OpenAI model in summarize script 2026-05-21 13:17:30 +02:00
Søren Lund f49ff6b19a feat(summarize-changes): add debug output for API responses
- Set DEBUG=1 in pipeline environment to enable debug mode
- Output full API response to stderr when DEBUG is set
- Use a temporary file to store and inspect API responses
2026-05-21 13:09:28 +02:00
Søren Lund c92ad10be1 chore(scripts): update shebang to use /bin/sh for portability 2026-05-21 11:29:54 +02:00
Søren Lund 8532c2098d refactor(scripts): remove debug output from summarize_git_changes
- Delete extraneous echo statements from summarize function
- Clean up script output for improved readability and automation
2026-05-21 11:27:38 +02:00
Søren Lund 09cafe7ddb refactor(ci): modularize git scripts and update pipeline usage
- Extract get_clone_urls and clone_repos to git_lib.sh for reuse
- Rename git_summary.sh to summarize_git_changes with improved logic
- Update Woodpecker pipeline to source new script names and functions
- Enhance summarize_git_changes with flexible date handling and markdown output
2026-05-21 11:21:14 +02:00
Søren Lund 3cc4d694d8 refactor(scripts): improve POSIX compliance in shell scripts
- Replace bash-specific syntax with POSIX-compliant sh syntax
- Remove use of 'pipefail' and 'local' for broader shell compatibility
- Update conditionals and arithmetic to standard sh forms
- Ensure scripts run with /usr/bin/sh for portability
2026-05-21 11:15:10 +02:00
Søren Lund e77043d2bd feat(ci): add scripts and pipeline for summarizing repo changes
- Add Woodpecker pipeline to automate change summaries on push
- Introduce scripts to fetch clone URLs and generate git summaries
- Update .gitignore to exclude generated repo_urls.txt
2026-05-21 10:58:09 +02:00