Skip to content

ci: use shared obsidian plugin workflow and update obsidian version - #19

Merged
ClaudiaFang merged 1 commit into
masterfrom
ci/use-shared-workflow
Apr 26, 2026
Merged

ClaudiaFang merged 1 commit into
masterfrom
ci/use-shared-workflow

Conversation

@ClaudiaFang

Copy link
Copy Markdown
Member

This PR simplifies the CI/CD pipeline by migrating to a shared GitHub Action workflow specifically designed for Obsidian plugins.

Changes:

  • Replaced custom CI jobs in .github/workflows/ci.yml with firstsun-dev/general-workflows/.github/workflows/obsidian-plugin-ci.yml.
  • Updated obsidian dependency to 1.12.3.
  • Updated versions.json to reflect the minimum Obsidian version requirement (1.12.7).
  • Added feat/use-shared-workflow to .releaserc.json branches.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request updates the obsidian dependency to version 1.12.3 and adjusts the release configuration and version metadata. Feedback suggests removing the feature branch from the .releaserc.json to avoid accidental releases and aligning the minimum app version in versions.json with the dependency version specified in package-lock.json to ensure consistency.

Comment thread .releaserc.json
@@ -1,5 +1,5 @@
{
"branches": ["main", "master"],
"branches": ["main", "master", "feat/use-shared-workflow"],

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

Including a specific feature branch (feat/use-shared-workflow) in the branches array will cause semantic-release to attempt a release from this branch. Typically, this configuration should only include stable branches (e.g., main, master) or designated pre-release branches. If this was added only for testing the CI changes, it should be removed before merging to avoid accidental releases or configuration clutter.

Suggested change
"branches": ["main", "master", "feat/use-shared-workflow"],
"branches": ["main", "master"],

Comment thread versions.json
@@ -1 +1 @@
{"1.0.0": "0.15.0", "1.1.0": "0.15.0"}
{"1.0.0": "0.15.0", "1.1.0": "1.12.7"}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

There is a version mismatch between the obsidian dependency (1.12.3 in package-lock.json) and the minAppVersion (1.12.7) specified here for version 1.1.0. This inconsistency may unnecessarily restrict users on Obsidian versions between 1.12.3 and 1.12.6. Unless 1.12.7 is specifically required for a bug fix or feature not present in 1.12.3, these versions should be aligned to ensure the widest possible compatibility for the targeted API version.

Suggested change
{"1.0.0": "0.15.0", "1.1.0": "1.12.7"}
{"1.0.0": "0.15.0", "1.1.0": "1.12.3"}

@sonarqubecloud

Copy link
Copy Markdown

@ClaudiaFang
ClaudiaFang enabled auto-merge (squash) April 26, 2026 16:22
@ClaudiaFang
ClaudiaFang merged commit f79f36d into master Apr 26, 2026
20 checks passed
@ClaudiaFang
ClaudiaFang deleted the ci/use-shared-workflow branch April 26, 2026 16:33
@ClaudiaFang

Copy link
Copy Markdown
Member Author

🎉 This PR is included in version 1.0.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant