Skip to content

ci: Add daily snipsync GitHub workflow#4324

Merged
lennessyy merged 5 commits intomainfrom
add-snipsync-workflow
Mar 24, 2026
Merged

ci: Add daily snipsync GitHub workflow#4324
lennessyy merged 5 commits intomainfrom
add-snipsync-workflow

Conversation

@lennessyy
Copy link
Copy Markdown
Contributor

@lennessyy lennessyy commented Mar 23, 2026

Summary

  • Adds a GitHub Actions workflow that runs snipsync daily at 6:00 UTC
  • Creates a single PR (snipsync/daily-update) with snippet changes, or updates the existing PR if one is already open
  • Supports manual trigger via workflow_dispatch
  • No-ops cleanly when there are no changes

Test plan

  • Trigger the workflow manually via Actions tab to verify it runs successfully
  • Confirm a PR is created when snippets are out of date
  • Run again to confirm it updates the existing PR rather than creating a new one

🤖 Generated with Claude Code

┆Attachments: EDU-6087 Add daily snipsync GitHub workflow

Automates code snippet syncing from source repos on a daily schedule,
creating or updating a single PR with any changes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@lennessyy lennessyy requested a review from a team as a code owner March 23, 2026 17:56
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
temporal-documentation Ready Ready Preview, Comment Mar 24, 2026 5:52pm

Request Review

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 23, 2026

📖 Docs PR preview links

This PR does not change any pages in /docs. If you make updates, links to the modified pages will appear here.

@lennessyy lennessyy changed the title Add daily snipsync GitHub workflow ci: Add daily snipsync GitHub workflow Mar 23, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@flippedcoder flippedcoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple small things, but this is cool!

- add-snipsync-workflow
schedule:
- cron: '0 6 * * *' # Daily at 6:00 UTC
workflow_dispatch:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it just adds the "Run workflow" button in the Actions tab with no required field so we can run it by hand if we ever need to

Comment thread .github/workflows/snipsync.yml Outdated
Co-authored-by: Milecia McG <47196133+flippedcoder@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@lennessyy lennessyy enabled auto-merge (squash) March 24, 2026 17:51
@lennessyy lennessyy merged commit 1a5b90e into main Mar 24, 2026
10 checks passed
@lennessyy lennessyy deleted the add-snipsync-workflow branch March 24, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants