Modernize repository: fix workflows, update scripts, add docs#207
Open
Modernize repository: fix workflows, update scripts, add docs#207
Conversation
- Fix update-registry.yml branch trigger (master → main) - Remove dead gh-pages code and Update-GhPagesData.ps1 - Replace Amadevus/pwsh-script@v2 with native pwsh run steps - Rename checkout path master → main in update-index.yml - Update GitHub API auth from 'token' to 'Bearer' prefix - Remove deprecated preview API header in Validate-Registry.ps1 - Fix DisableLastModifiedCaching param type ([string] → [switch]) - Parameterize hardcoded BSData org name in Update-Registry.ps1 - Remove dead FormatFileRef function from Validate-Registry.ps1 - Replace Write-Action* calls with native workflow commands - Update powershell-yaml from 0.4.2 to 0.4.7 - Rewrite .gitignore (351-line VS template → 25-line minimal) - Update Twitter URL to X in settings.yml - Improve README with architecture overview and structure - Add CONTRIBUTING.md, PR template, issue template - Add BsdataGallery.psd1 module manifest Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Adds docs/architecture.md covering all 4 workflows, data flow, branches, and key files. Includes Mermaid flowchart showing the full pipeline from repo discovery through to BattleScribe clients. Links from README. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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
Comprehensive repository refresh addressing broken workflows, deprecated patterns, and missing documentation.
Critical Fixes
update-registry.ymlbranch trigger was set tomasterbut default branch ismain- workflow never fired on push eventsupdate-index.yml(referenced nonexistent workflow outputs) and deleted unusedUpdate-GhPagesData.ps1Workflow Modernization
Amadevus/pwsh-script@v2with nativerun: shell: pwshin all 3 workflowsWrite-Action*cmdlets with native::debug::/::warning::/::error::workflow commandsmastertomainreferences (checkout paths, comments, README)Script Modernization
tokentoBearerprefixmercy-preview+json) - topics API stable since 2020DisableLastModifiedCachingparam type ([string]to[switch])BSDataorg name inUpdate-Registry.ps1FormatFileReffunction (had a bug referencing$messageinstead of$msg)powershell-yamlfrom 0.4.2 to 0.4.7Cleanup
.gitignore- replaced 351-line VisualStudio template with 25-line minimal versionsettings.ymlDocumentation
docs/architecture.mdwith Mermaid data flow diagram and detailed workflow descriptionsREADME.mdwith architecture link and repo structure overviewCONTRIBUTING.mdwith instructions for adding repositoriesBsdataGallery.psd1module manifestFiles Changed