Skip to content

Auto-merge package PRs that bring their own test - #868

Merged
ryanrhughes merged 2 commits into
masterfrom
ci/auto-merge-package-tests
Oct 8, 2026
Merged

ryanrhughes merged 2 commits into
masterfrom
ci/auto-merge-package-tests

Conversation

@ryanrhughes

Copy link
Copy Markdown
Collaborator

Follow-up to #867, which would still have left #854 open: like voxtype-bin (#640) and the IPU7 camera (#723) before it, Superwhisper added tests/superwhisper-bin-install.sh and one test.yml line running it, and #867 only accepted files under pkgbuilds/.

Count those as package changes too:

  • a new file under tests/;
  • a test.yml change whose every changed line adds a ./tests/<name>.sh call (nothing removed). test.yml runs on PRs only.

Editing an existing test still needs a maintainer: builder-images.yml runs tests/build-isolation.sh on master with packages: write.

Run against #854's real file list from the API: #867's rule says changes files outside pkgbuilds/: .github/workflows/test.yml, tests/superwhisper-bin-install.sh; this one says collaborator author, package changes only. Tests cover #854's shape, edits to an existing test, and test.yml changes that add a trigger, run anything else, swap a test, or are too large to have a patch; 54/54 pass.

#867 auto-merged only PRs changing nothing outside pkgbuilds/, so it would
have left #854 open too: like voxtype-bin and the IPU7 camera before it,
Superwhisper added tests/superwhisper-bin-install.sh and one test.yml line
running it.

Count those as package changes: a new file under tests/, and a test.yml
change whose every line adds a ./tests/*.sh call. test.yml runs on PRs only.
Editing an existing test still needs a maintainer, since builder-images.yml
runs tests/build-isolation.sh on master with packages: write.
@ryanrhughes
ryanrhughes merged commit 93b1655 into master Oct 8, 2026
7 checks passed
@ryanrhughes
ryanrhughes deleted the ci/auto-merge-package-tests branch October 8, 2026 18:59
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