Skip to content

Conversation

chrismallinson
Copy link
Collaborator

@chrismallinson chrismallinson commented Sep 15, 2025

Description

Linear ticket: https://linear.app/buildwithfern/issue/FER-6497/ci-handle-seed-generation-and-update-at-pr-level-instead-of-merge
Added new workflow path for updating seed at the PR level instead of waiting for it to merge
Resolves FER-6497

Changes Made

  • Added two new flags, create-artifacts and create-pr in auto-update-seed/action.yaml. These are used to pick specific jobs depending on if we are using the legacy workflow (creating PRs after merge to main to update seed) or using the newly added workflow (committing directly to PR)
  • Added repository_dispatch trigger to seed.yml, which will be used in later pushes
  • Added setup job to update-seed.yml workflow to clean up some code downstream
  • Added job to update-seed.yml to commit changes when creating in patch files via auto-update-seed action file
  • Added job to trigger snapshot tests after commits are posted (needs further testing, will be used in later commits/PRs)

Testing

Testing with CI, verified:

  1. When PR trigger uncommented, seed will run and commit changes to PR that started the job
  2. No errors when there are no changes to be committed

@chrismallinson chrismallinson force-pushed the mallinson/PR-level-seed-updates branch from a02a258 to ee53f64 Compare September 15, 2025 21:55
@chrismallinson chrismallinson force-pushed the mallinson/PR-level-seed-updates branch from 10577fa to 0cf1fc9 Compare September 16, 2025 18:08
@chrismallinson chrismallinson changed the title WIP feat(ci): Run updates at PR level instead of after merge feat(ci): Run updates at PR level instead of after merge Sep 16, 2025
@chrismallinson chrismallinson force-pushed the mallinson/PR-level-seed-updates branch from d2e4b0d to 214b159 Compare September 16, 2025 20:04
@chrismallinson chrismallinson merged commit c8211a6 into main Sep 16, 2025
64 checks passed
@chrismallinson chrismallinson deleted the mallinson/PR-level-seed-updates branch September 16, 2025 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants