added workflows and composer updates #8
Reference in New Issue
Block a user
Delete Branch "ranjith-dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Line 10:
workflow_dispatch:🟡Medium: Theworkflow_dispatch:trigger is empty. While syntactically valid, it's good practice to either omit the colon if no configuration is needed for a manual trigger, or defineinputs:if the workflow is meant to accept parameters when run manually.Line 43:
git diff "${{ gitea.event.pull_request.base.sha }}...${{ gitea.event.pull_request.head.sha }}" > pr.diff🔴Critical: The workflow usesgitea.event.pull_request.base.shaandgitea.event.pull_request.head.sha. These context variables are specific to Gitea and are incorrect for a GitHub Actions workflow. They should be replaced withgithub.event.pull_request.base.shaandgithub.event.pull_request.head.shafor GitHub.Line 57:
--url "${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/issues/${{ gitea.event.pull_request.number }}/comments" \🔴Critical: Similar to the previous issue, this line usesgitea.server_url,gitea.repository, andgitea.event.pull_request.number. These must be changed to their GitHub equivalents:github.api_url,github.repository, andgithub.event.pull_request.number.Line 37:
run: npm install -g --loglevel=http @google/gemini-cli🟡Medium: Thenpm installcommand uses--loglevel=http. While useful for debugging, this can expose sensitive information in logs if the Gemini CLI performs HTTP requests with credentials. For production workflows, it's generally safer to use a less verbose log level like--loglevel=warnor--loglevel=errorto prevent accidental exposure of data.The pull request introduces a new GitHub Actions workflow for Gemini PR review and updates several PHP dependencies in
composer.lock. The.github/workflows/gemini-pr-review.mdfile provides clear instructions for the review agent.🔍 General Feedback
composer.lockfile shows a general update of various dependencies, which is a routine maintenance task. No specific issues were found with these updates themselves, but it's important to ensure all updated packages are compatible with the existing codebase.