Conversation
Changes: - Reorganize file structure: data/sfs_json/ and data/md-markers/ - Add Cloudflare R2 backup for JSON files (redundancy) - Make git commits configurable (enable_git_commit input) - Add smart fallback in html-export (git first, R2 as backup) - Remove gitignore exceptions for cleaner config This provides better organization, permanent R2 backup, and flexibility to disable git commits when only R2 storage is needed.
Changes: - Replace timestamped branches with fixed branch (workflow-artifact-data) - Add automatic PR lifecycle management (close old, create new) - Make both fetch-sfs and upcoming-changes use same branch - Simplify html-export trigger to always use fixed branch Benefits: - Eliminates branch proliferation - Single coordination point for data updates - No manual cleanup needed - Temporal branches remain separate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR modernizes the SFS workflow architecture with three major improvements:
data/directory structure for all committed filesChanges
📁 New Directory Structure
data/sfs_json/- Source JSON files (committed to git + backed up to R2)data/md-markers/- Markdown with selex tags (committed to git)output/- Generated files (ignored in git, HTML goes to R2)☁️ Cloudflare R2 Backup
🔄 Fixed Branch Strategy (NEW)
workflow-artifact-datainstead of timestamped branches⚙️ Configurable Git Commits
enable_git_commit(default: true) - Enable/disable git commitsbranch_name(default:workflow-artifact-data) - Configurable branch nameBenefits
✅ Better organization - All source data in
data/, generated inoutput/✅ Permanent backup - JSON files in both git and R2
✅ No branch cleanup needed - Single fixed branch, reused on each run
✅ Simplified coordination - All workflows use same branch
✅ Clear naming -
md-markersshows selex tags includedBefore/After
Testing