Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ defaults:

jobs:
close-stale-issues:
if: 'github.repository == ''google-gemini/gemini-cli'''
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we can clean the quotes up a bit to be more readable:

Suggested change
if: 'github.repository == ''google-gemini/gemini-cli'''
if: github.repository == 'google-gemini/gemini-cli'

Copy link
Contributor

Choose a reason for hiding this comment

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

This is a great suggestion, jackwotherspoon! Removing the outer single quotes around the if expression significantly improves readability and is the more idiomatic way to write conditions in GitHub Actions workflows. The YAML parser correctly interprets the expression without the need for the extra escaping.

Suggested change
if: 'github.repository == ''google-gemini/gemini-cli'''
if: github.repository == 'google-gemini/gemini-cli'

runs-on: 'ubuntu-latest'
permissions:
issues: 'write'
Expand Down