Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Duplicate review jobs started by a '@gemini-cli /review' comment #99

@anguillanneuf

Description

@anguillanneuf

I followed the instructions exactly as they are to add a security GitHub Action PR review workflow in my repo.

When I add a comment to start a security review on the PR, I always see two jobs getting kicked off, as evidenced by the duplicate comments you can see in branbaratheon/ai-student-assistant#8, and in my Actions history log as shown below.

Image

Furthermore, these two changes did not yield the desirable results:

  1. branbaratheon/ai-student-assistant@94753d3 If this value is true, the first job will not start because a second job is present, and the second job will automatically get skipped.
  2. branbaratheon/ai-student-assistant@6e97d73 This was added for debugging reasons but did not yield any different behavior.
  3. branbaratheon/ai-student-assistant@886e41a to check for cancelled status

What eventually worked was for me to turn down my installed GitHub App in this repo so that the workflow uses the built-in default GITHUB_TOKEN instead my GitHub App credentials: https://github.com/branbaratheon/ai-student-assistant/blob/886e41a4bb9e0d11eb951419b20019aa13bb4a89/.github/workflows/gemini-review.yml#L32-L48

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions