Conversation
There was a problem hiding this comment.
Pull request overview
Updates the release process to derive the release/tag version from package.json (rather than requiring a manual input), aligning with the constraint that direct pushes to main are blocked.
Changes:
- Bump npm package version to
0.3.0. - Update release documentation to require version bump via PR into
mainbefore running the workflow. - Refactor the GitHub Actions release workflow to read/validate the version from
package.jsonand tag/release/publish based on it.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
package.json |
Updates the package version to 0.3.0. |
README.md |
Documents the new release sequence (version bump PR → run workflow). |
.github/workflows/release.yml |
Removes manual version input; reads version from package.json, validates it, creates a tag, creates a GitHub release, and publishes to npm. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Agent-Logs-Url: https://github.com/directus/openapi/sessions/52d12eed-b043-4e6d-81d6-c9b2961b0f0b Co-authored-by: licitdev <26413686+licitdev@users.noreply.github.com>
formfcw
approved these changes
Mar 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update workflow to use the version in
package.jsonas pushes tomainare blocked.