ci: verify theme version bumps in pull requests #7

Open
mfgmicha wants to merge 1 commit from t3code/verify-theme-version-bump into main
Owner

Summary

  • verify theme versions in style.css and package.json match
  • require exactly one version-update commit for theme changes
  • require the pull-request version to increase from the target branch
  • allow changes outside theme files without a version bump

Validation

  • parsed the workflow YAML locally
  • exercised successful version-bump and no-theme-change paths
  • ran git diff --check
## Summary - verify theme versions in style.css and package.json match - require exactly one version-update commit for theme changes - require the pull-request version to increase from the target branch - allow changes outside theme files without a version bump ## Validation - parsed the workflow YAML locally - exercised successful version-bump and no-theme-change paths - ran git diff --check
ci: verify theme version bumps in pull requests
Some checks failed
Theme version / verify-version-bump (pull_request) Has been cancelled
b958b51d62
Some checks failed
Theme version / verify-version-bump (pull_request) Has been cancelled
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin t3code/verify-theme-version-bump:t3code/verify-theme-version-bump
git switch t3code/verify-theme-version-bump

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff t3code/verify-theme-version-bump
git switch t3code/verify-theme-version-bump
git rebase main
git switch main
git merge --ff-only t3code/verify-theme-version-bump
git switch t3code/verify-theme-version-bump
git rebase main
git switch main
git merge --no-ff t3code/verify-theme-version-bump
git switch main
git merge --squash t3code/verify-theme-version-bump
git switch main
git merge --ff-only t3code/verify-theme-version-bump
git switch main
git merge t3code/verify-theme-version-bump
git push origin main
Sign in to join this conversation.
No description provided.