chore: Add snapshot update workflow by filzrev · Pull Request #9969 · dotnet/docfx
This PR intended to resolve #9831 issue.
Currently snapshots are not synced to latest snapshot tests results.
This PR add snapshot,yml workflow to update snapshots.
And run ci.yml if snapshots are updated.
How to run snapshot update workflow
First of all. This PR must be merged to main branch to run workflow.
After PR is merged.
It can run workflow via GitHub Action Web UI.

It can also run workflow by using gh command.
gh workflow run snapshot.yml --repo dotnet/docfx --ref test-branch -f dryrun=true
How to test snapshot workflow
- Ensure this PR is merged to
mainbranch. - Create test branch (e.g.
test-branch) and push to GitHub. - Run snapshot workflow with
dryrun=falsesetting - Confirm snapshot is updated by workflow. And
cy.ymlis executed.
If it's confirmed to works as expected.
Please try to update main branch snapshot.