Skip to content

fix: update badges, use immutable releases, and update an error message#53

Merged
joshjohanning merged 7 commits into
mainfrom
update-badges
Nov 17, 2025
Merged

fix: update badges, use immutable releases, and update an error message#53
joshjohanning merged 7 commits into
mainfrom
update-badges

Conversation

@joshjohanning

Copy link
Copy Markdown
Owner

Documentation updates:

  • Added new badges to README.md for GitHub releases, immutable releases, and marketplace presence, providing clearer status and discoverability of the project.
  • Updated usage instructions in README.md to reference joshjohanning/approveops@v3 instead of @v2, ensuring users adopt the latest version.

Workflow configuration:

  • Modified .github/workflows/publish.yml to create releases as drafts by default, improving release management and review processes.

Code and error handling improvements:

  • Improved error message in src/index.js for team access failures to include organization context and permission details, and updated corresponding test to match the new message. [1] [2]
  • Added missing JSDoc @returns annotations to postComment and run functions in src/index.js, clarifying their return types for better developer understanding. [1] [2]up

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances project documentation, improves error messaging, and updates release workflows for better clarity and maintainability.

  • Updated README badges and version references to reflect v3 and highlight immutable releases
  • Improved error message for team access failures to include organization context
  • Added JSDoc return type annotations for better code documentation

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
README.md Added new badges for releases and marketplace, updated usage example to reference v3
src/index.js Enhanced error message with organization context, added JSDoc @returns annotations
src/index.test.js Updated test assertion to match improved error message
.github/workflows/publish.yml Configured releases to be created as drafts for better review process
badges/coverage.svg Updated coverage badge reflecting slight increase to 98.21%

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@joshjohanning joshjohanning merged commit 8aec000 into main Nov 17, 2025
4 checks passed
@joshjohanning joshjohanning deleted the update-badges branch November 17, 2025 20:05
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.

2 participants