Skip to content

ci: group Dependabot updates and sync the example copy - #32

Merged
edavidaja merged 1 commit into
mainfrom
sync-dependabot
Oct 5, 2026
Merged

edavidaja merged 1 commit into
mainfrom
sync-dependabot

Conversation

@edavidaja

@edavidaja edavidaja commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

Dependabot updates only _extensions/quarto-openapi, so the example copy falls out of sync and the test job fails (see #31).

This PR adds sync-dependabot.yml. On PRs that Dependabot opens, it:

  1. Runs npm run sync-example on the PR branch.
  2. Commits and pushes the result if anything changed.
  3. Starts test.yml on the PR branch. GitHub does not start workflows for pushes made with GITHUB_TOKEN, but it does allow workflow_dispatch. This PR adds that trigger to test.yml.

This PR also groups all npm version updates for the extension into one Dependabot PR.

After this merges, Dependabot replaces #30 and #31 with one grouped PR on its next run. To get it sooner, start a check from the repository's Dependabot page (Insights > Dependency graph > Dependabot).

Dependabot stops automatic rebases on a PR after another author pushes to it. @dependabot recreate discards the sync commit, and the workflow then adds it again.

Dependabot updates only _extensions/quarto-openapi, so the sync check fails
on its PRs. A new workflow syncs the example, pushes the change to the PR
branch, and dispatches the tests on the new commit.
@edavidaja
edavidaja merged commit 6bf0897 into main Oct 5, 2026
2 checks passed
@edavidaja
edavidaja deleted the sync-dependabot branch October 5, 2026 19:15
@edavidaja edavidaja changed the title ci: sync the example copy on Dependabot PRs ci: group Dependabot updates and sync the example copy Oct 5, 2026
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.

1 participant