Skip to content

Conversation

@Sabique-Islam
Copy link
Owner

Bot check

@github-actions
Copy link

PR Summary

This pull request introduces the "nopejs Bot," a new GitHub Action designed to automatically summarize pull requests using the Google Gemini API.

Key changes include:

  • New Bot Functionality: Adds a GitHub Action that triggers on PR events (opened, synchronize, reopened) to generate and post a summary.
  • Permissions: Configures the workflow with pull-requests: write and contents: read permissions, essential for commenting on PRs and reading their content.
  • Workflow Enhancements: Passes PR_NUMBER and GITHUB_REPOSITORY as environment variables to the Python script and captures the script's output to a file.
  • New README: Introduces a README.md file detailing the bot's purpose and functionality.
  • Script Updates: The main.py script is updated to use the new PR_NUMBER environment variable, include a debug check for the Gemini API key, and print the summary to standard output.
  • Setup Improvements: setup.py is modified to dynamically read the README.md for the long description and streamline package discovery, aligning with a potential change in project structure (e.g., Python source moving to the root).

@Sabique-Islam Sabique-Islam merged commit 45488d3 into master Jul 18, 2025
2 checks passed
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