Skip to content
Closed

Test #8180

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
195 commits
Select commit Hold shift + click to select a range
9499c2c
Change trigger for pull_request open event (#8184)
enkeefe00 Sep 17, 2025
f9e37fe
Remove adm64 from local platforms on staging (#8185)
hugares Sep 17, 2025
7f5532f
optimize chunk flushing to s3 to avoid slowdown error (#8187)
olegbet Sep 18, 2025
627b898
feat(SRVKP-8847) Exposing Stage Metrics (#8191)
rubenmgx Sep 18, 2025
c373699
remove retry configuration (#8199)
olegbet Sep 18, 2025
2dd48a5
Revert "feat(SRVKP-8847) Exposing Stage Metrics (#8191)" (#8197)
rubenmgx Sep 18, 2025
b83623d
mintmaker: create ca-bundle configmap in all staging and production c…
qixiang Sep 18, 2025
b07628d
Remove production smee server (#8160)
enkeefe00 Sep 18, 2025
7d79f68
Advertise new user advisor notebooklm (#8206)
ralphbean Sep 18, 2025
6712778
update components/mintmaker/staging/base/kustomization.yaml (#8186)
rh-tap-build-team[bot] Sep 19, 2025
7a9c4dd
KFLUXINFRA-2245: Update AMI with NVIDIA GPU Drivers (#8222)
manish-jangra Sep 19, 2025
26443c2
fix: update postgresql helm charts to oci registry (#8214)
anithapriyanatarajan Sep 19, 2025
156d7ac
mintmaker update (#8218)
rh-tap-build-team[bot] Sep 19, 2025
5984bc1
CI: various misc kube-linter improvements (#8217)
sadlerap Sep 19, 2025
b1de394
feat(KFLUXVNGD-416): deploy squid to development and staging (#8013)
avi-biton Sep 19, 2025
15206f8
ci: upload lint artifacts only on failure (#8232)
sadlerap Sep 19, 2025
3fe99cd
Clean up old teams from everyone can view (#8229)
hugares Sep 19, 2025
16b920e
Remove workspace component (#8231)
hugares Sep 19, 2025
9d6ae43
update components/multi-platform-controller/base/kustomization.yaml (…
rh-tap-build-team[bot] Sep 19, 2025
7cb1693
mintmaker update (#8228)
rh-tap-build-team[bot] Sep 19, 2025
4bfb33d
Update git-platforms.yaml (#8237)
HozifaWasfy Sep 19, 2025
4912f74
ci: bump kubelinter to v0.7.6 (#8233)
sadlerap Sep 19, 2025
cfd6216
release-service update (#8223)
rh-tap-build-team[bot] Sep 19, 2025
8d9e4eb
Modify probe's api to rhobs (#8239)
HozifaWasfy Sep 19, 2025
97a9728
added (#8243)
manish-jangra Sep 22, 2025
08755c6
feat(SRVKP-8847) new stage metrics for openshift pipelines (#8247)
rubenmgx Sep 22, 2025
1b5e483
feat(SRVKP-8847) Stage metrics, second set (#8248)
rubenmgx Sep 22, 2025
85ad009
feat(SRVKP-8847) new production metrics (#8249)
rubenmgx Sep 22, 2025
c247e44
Make sink restart on kubearchive-logging CM change (#8224)
maruiz93 Sep 22, 2025
7d8e9cd
fix(STONEINTG-1215): create pipelineruns and secrets with konflux-in…
dirgim Sep 22, 2025
95efa43
KubeArchive: downscale to 0 on stage-stg-rh01 for tests (#8252)
rh-hemartin Sep 22, 2025
a86b376
update components/internal-services/kustomization.yaml (#8254)
rh-tap-build-team[bot] Sep 22, 2025
51eb875
chore: update pipelines service OWNERS file (#8105)
aThorp96 Sep 22, 2025
fc0c0d6
disable job autocleanup (#8255)
sadlerap Sep 22, 2025
16a8fcc
release-service update (#8257)
rh-tap-build-team[bot] Sep 22, 2025
64bbc91
Add Konflux status page urls to info.json (#8157)
pacho-rh Sep 22, 2025
6018bd7
update components/internal-services/kustomization.yaml (#8260)
rh-tap-build-team[bot] Sep 22, 2025
e342d86
fix(KFLUXSPRT-5193): admins can view repositories (#8265)
scoheb Sep 22, 2025
6b10620
fix(RELEASE-1828): use time-based pruning to avoid PVC quota hits (#7…
seanconroy2021 Sep 22, 2025
be4a184
update components/mintmaker/staging/base/kustomization.yaml (#8267)
rh-tap-build-team[bot] Sep 23, 2025
bcb29ca
update components/mintmaker/staging/base/kustomization.yaml (#8269)
rh-tap-build-team[bot] Sep 23, 2025
a6cfdb7
Expose kubearchive API with route in prod (#8275)
maruiz93 Sep 23, 2025
28be230
Change RHEL AMIs to Cloud Access in Staging (#8251)
p8r-the-gr8 Sep 23, 2025
3c2c704
mintmaker update (#8240)
rh-tap-build-team[bot] Sep 24, 2025
e7f8f16
Allow release team repos on internal staging (#8285)
hugares Sep 24, 2025
650457c
Revert "KubeArchive: downscale to 0 on stage-stg-rh01 for tests (#825…
maruiz93 Sep 24, 2025
426f8ea
update components/mintmaker/production/base/kustomization.yaml (#8238)
rh-tap-build-team[bot] Sep 24, 2025
1b1dc87
chore: add kite.conf to nginx (#8287)
sahil143 Sep 24, 2025
74ef731
Promote release-service from development to staging (#8290)
johnbieren Sep 24, 2025
d482a52
Upgrade staging to v1.7.0 (#8276)
maruiz93 Sep 24, 2025
b8d49b7
Change RHEL AMIs to Cloud Access for prd-rh01 (#8284)
p8r-the-gr8 Sep 24, 2025
bb2b1a3
release-service update (#8283)
rh-tap-build-team[bot] Sep 24, 2025
c3d0711
chore: update the squid image tag (#8292)
hmariset Sep 24, 2025
617cd57
fix: remove release cleanup cronjob (#8271)
theflockers Sep 24, 2025
9422b0e
update components/multi-platform-controller/base/kustomization.yaml (…
rh-tap-build-team[bot] Sep 25, 2025
d76a579
Update internal production with recent MPC version (#8295)
mshaposhnik Sep 25, 2025
5b30f14
chore: add permissions to squid (#8302)
avi-biton Sep 25, 2025
4583212
update components/mintmaker/staging/base/kustomization.yaml (#8298)
rh-tap-build-team[bot] Sep 25, 2025
6008225
chore: bump repository-validator staging commit ref (#8306)
johnbieren Sep 25, 2025
8f7f80f
Change RHEL AMIs to Cloud Access for Prod (#8307)
p8r-the-gr8 Sep 25, 2025
53486a5
fix(KFLUXVNGD-481): Add argocd permissions to trust-manager (#8311)
avi-biton Sep 25, 2025
da11fe9
KAR-618: setup kubearchive logging on kflux-rhel-p01 (#8274)
olegbet Sep 25, 2025
c8d082c
update components/internal-services/kustomization.yaml (#8304)
rh-tap-build-team[bot] Sep 25, 2025
98455cd
Update repository validator to latest revision (#8313)
hugares Sep 25, 2025
bdf27b1
KAR-615: setup log collector stone-stage-p01 config (#8272)
olegbet Sep 25, 2025
ec03fab
KAR-616: setup kubearchive logging kflux-ocp-p01 config (#8277)
olegbet Sep 25, 2025
07e5e23
mintmaker update (#8310)
rh-tap-build-team[bot] Sep 26, 2025
f4d4903
update components/mintmaker/production/base/kustomization.yaml (#8327)
rh-tap-build-team[bot] Sep 26, 2025
ac169ca
Update external production with recent MPC version (#8312)
mshaposhnik Sep 26, 2025
8c10c6c
integration-service update (#8315)
rh-tap-build-team[bot] Sep 26, 2025
1944bc1
KAR-617: setup kubearchive logging kflux-prd-rh03 config (#8281)
olegbet Sep 26, 2025
7043ca6
Add pod debugging permissions to mintmaker team (#8329)
qixiang Sep 26, 2025
fbcfc3c
Revert "Change RHEL AMIs to Cloud Access for prd-rh01 (#8284)" (#8328)
littlejawa Sep 26, 2025
e3a785b
Revert "Change RHEL AMIs to Cloud Access for Prod (#8307)" (#8334)
p8r-the-gr8 Sep 26, 2025
4b200a6
product-kubearchive-logging: remove staging deletion patch (#8330)
olegbet Sep 26, 2025
42a52f8
kubearchive-logging add external secret (#8332)
olegbet Sep 26, 2025
a6d5ff1
kubearchive-logging: remove production deletion patch (#8333)
olegbet Sep 26, 2025
bae2b5a
feat(SPRE-1609): Update monitorinstack log levels (#8314)
gcpsoares Sep 26, 2025
33f0d68
feat(SPRE-1609): Update monitorinstack log level back to info (#8340)
gcpsoares Sep 26, 2025
830319e
release-service update (#8336)
rh-tap-build-team[bot] Sep 26, 2025
5cea98c
Remove Kubesaw from CI jobs (#7953)
gbenhaim Sep 28, 2025
e76b0fc
chore(KFLUXVNGD-481): Revert change to trust-manager (#8350)
avi-biton Sep 29, 2025
9c546f2
update components/mintmaker/staging/base/kustomization.yaml (#8353)
rh-tap-build-team[bot] Sep 29, 2025
54cffaa
KubeArchive: instal on `kflux-osp-p01` (#8141)
rh-hemartin Sep 29, 2025
b9a3198
KubeArchive: enable PipelineRun deletion on staging (#8296)
rh-hemartin Sep 29, 2025
130561c
Add kyverno grafana dashboard (#8349)
glevi-rh Sep 29, 2025
3661042
KubeArchive: eventing-free version on stone-stage-p01 (#8355)
rh-hemartin Sep 29, 2025
4773d29
Add external secret for kubearchive-logging (#8361)
maruiz93 Sep 29, 2025
2724a4c
kyverno: bump to v1.15.2 on staging (#8216)
sadlerap Sep 29, 2025
6607f69
ci: fix kube-linter artifact upload (#8342)
sadlerap Sep 29, 2025
68fc9ef
Fix env for kubearchive logging (#8366)
maruiz93 Sep 29, 2025
9c4cb8b
new version of the controller (#8357)
YasenT Sep 29, 2025
1486567
MintMaker: manually update stage config (#8377)
FernandesMF Sep 29, 2025
2e35f74
kyverno: bump to v1.15.2 in production (#8343)
sadlerap Sep 29, 2025
52a887e
Remove Keycloak component (#8351)
gbenhaim Sep 29, 2025
51e57b5
MintMaker: promote manual update to prod (#8380)
FernandesMF Sep 29, 2025
8531d8c
build-service update (#8273)
rh-tap-build-team[bot] Sep 29, 2025
5979703
image-controller update (#8280)
rh-tap-build-team[bot] Sep 29, 2025
20da383
staging: remove sprayproxy from host clusters (#8264)
sadlerap Sep 29, 2025
7806439
adjusted 3 panels to be suitble for a single cluster data (#8375)
glevi-rh Sep 29, 2025
dad405d
fix kyverno background permission for integration policies (#8379)
filariow Sep 29, 2025
40e6ea2
feat: update cost-management operator to latest version (#8384)
raks-tt Sep 29, 2025
d400794
Increase resources for loki distributor (#8391)
maruiz93 Sep 29, 2025
6de0e53
Increase loki log level to debug (#8394)
maruiz93 Sep 29, 2025
776af0f
kyverno: bump to v1.15.2 in development overlay (#8344)
sadlerap Sep 30, 2025
85685cb
chore: upgrade caching in staging and development (#8396)
yftacherzog Sep 30, 2025
85a2967
Increase loki log level with more push info (#8397)
maruiz93 Sep 30, 2025
feddd84
update components/build-service/production/base/kustomization.yaml (#…
rh-tap-build-team[bot] Sep 30, 2025
b790777
update components/image-controller/production/base/kustomization.yaml…
rh-tap-build-team[bot] Sep 30, 2025
a6d9ec1
Fix operational_config in loki (#8400)
maruiz93 Sep 30, 2025
96259df
KubeArchive: propagate from private to public staging (#8364)
rh-hemartin Sep 30, 2025
4fffb1d
KubeArchive: increase memory assigned to the operator (#8403)
rh-hemartin Sep 30, 2025
db9dbee
Promote integration-service from staging to production (#8402)
sonam1412 Sep 30, 2025
e9eb7e2
KubeArchive: just a little bit more memory (#8404)
rh-hemartin Sep 30, 2025
88fc8d8
Promote MintMaker controller to prod (#8406)
staticf0x Sep 30, 2025
c42332d
Fix operational_config in loki (#8408)
maruiz93 Sep 30, 2025
23f3c21
update components/konflux-ui/staging/base/kustomization.yaml (#8270)
rh-tap-build-team[bot] Sep 30, 2025
fffed28
Fix operational_config in loki (#8410)
maruiz93 Sep 30, 2025
5135e55
Fix operational_config in loki (#8412)
maruiz93 Sep 30, 2025
c9dc287
update components/mintmaker/staging/base/kustomization.yaml (#8407)
rh-tap-build-team[bot] Sep 30, 2025
b66eb88
Allow bigger chunks of logs in loki (#8414)
maruiz93 Sep 30, 2025
8b9646a
chore: bump crossplane (#8405)
danilo-gemoli Sep 30, 2025
21fcc9a
update reference to enterprise-contract crds (#8261)
robnester-rh Sep 30, 2025
a9f683c
caching.git update (#8399)
rh-tap-build-team[bot] Sep 30, 2025
2f47cd9
release-service update (#8411)
rh-tap-build-team[bot] Sep 30, 2025
f0d8201
feat(SPRE-1268): updated stage monitoringstack endpoints for kube_pod…
peet-rh Sep 30, 2025
34ccffc
update components/konflux-ui/staging/base/kustomization.yaml (#8419)
rh-tap-build-team[bot] Oct 1, 2025
440c2a1
Make host-config dynamically provisioned (part 1 - staging) (#8291)
mshaposhnik Oct 1, 2025
327c777
fix kyverno background permission for integration policies (#8381)
filariow Oct 1, 2025
6492700
update components/mintmaker/staging/base/kustomization.yaml (#8420)
rh-tap-build-team[bot] Oct 1, 2025
9fe76f1
mintmaker update (#8376)
rh-tap-build-team[bot] Oct 1, 2025
102d42e
chore: bump konflux-ui (production) 4dca539d8f28 => 1fef96712b29 (#8422)
sahil143 Oct 1, 2025
db7bde2
release-service update (#8426)
rh-tap-build-team[bot] Oct 1, 2025
6fae851
kflux-rhel-p01: allow bigger log chunks for loki grpc (#8416)
olegbet Oct 1, 2025
bd7db4d
kflux-ocp-p01, kflux-prd-rh03: increase loki grpc log chunks (#8428)
olegbet Oct 1, 2025
72bdd11
Set common-secret=true on e2e-test pull secret (#8430)
chmeliik Oct 1, 2025
67d8b20
KubeArchive: add release vacuum to prod (#8429)
rh-hemartin Oct 1, 2025
58a2c48
optimize grpc logs chunking for staging (#8436)
olegbet Oct 1, 2025
b1002c4
chore: bump repository-validator prod commit ref (#8437)
johnbieren Oct 1, 2025
f227068
mintmaker update (#8435)
rh-tap-build-team[bot] Oct 1, 2025
d82bdfb
feat(crossplane): add tp secrets and bump crossplane (#8425)
danilo-gemoli Oct 2, 2025
ddf1375
Make host-config dynamically provisioned (#8434)
mshaposhnik Oct 2, 2025
f2da655
KubeArchive: release vacuum in prod is getting OOM (#8440)
rh-hemartin Oct 2, 2025
7680f23
Allow larger items in mem cache (#8441)
maruiz93 Oct 2, 2025
a470e25
Permissions for integration-runner in rhtap-build (#8446)
tnevrlka Oct 2, 2025
04c98e2
KubeArchive: increase memory for operator on staging (#8447)
rh-hemartin Oct 2, 2025
635cfdc
enable override of mintmaker renovate image (#8439)
scoheb Oct 2, 2025
9b1f4f3
release-service update (#8448)
rh-tap-build-team[bot] Oct 2, 2025
89b0b59
integration-service update (#8445)
rh-tap-build-team[bot] Oct 2, 2025
beee3a3
update components/mintmaker/production/base/kustomization.yaml (#8438)
rh-tap-build-team[bot] Oct 3, 2025
d40dad4
update components/mintmaker/staging/base/kustomization.yaml (#8464)
rh-tap-build-team[bot] Oct 3, 2025
005b79f
mintmaker update (#8455)
rh-tap-build-team[bot] Oct 3, 2025
295d08b
release-service update (#8467)
rh-tap-build-team[bot] Oct 3, 2025
5ef8e17
KubeArchive: increase memory for operator in staging (#8459)
skoved Oct 3, 2025
0f16dbb
prod: remove sprayproxy from host clusters (#8385)
sadlerap Oct 3, 2025
42610ff
Make host-config dynamic on external prod clusters (part 3 - external…
mshaposhnik Oct 3, 2025
586a508
update components/internal-services/kustomization.yaml (#8477)
rh-tap-build-team[bot] Oct 6, 2025
ccb0c3e
User scripts cleanup (#8492)
mshaposhnik Oct 6, 2025
7989aa8
KAR-622: setup kflux-osp-p01 kubearchive logging config (#8401)
olegbet Oct 6, 2025
d8210cf
update components/internal-services/kustomization.yaml (#8491)
rh-tap-build-team[bot] Oct 6, 2025
2f21a4d
kfluxinfra-2359 - Add instance with bigger disk to 'stone-prod-p02' (…
oswcab Oct 6, 2025
aeb2dfb
feat(crossplane): bump version (#8468)
danilo-gemoli Oct 6, 2025
411a4ec
release-service update (#8496)
rh-tap-build-team[bot] Oct 6, 2025
733da88
KubeArchive: using watchers instead of informers (#8475)
rh-hemartin Oct 6, 2025
8dc1d4c
caching.git update (#8495)
rh-tap-build-team[bot] Oct 6, 2025
985596b
has: use production overlays in production clusters (#8509)
sadlerap Oct 6, 2025
c39311e
Adjust the cache proxy settings in dev and staging (#8470)
amisstea Oct 6, 2025
fa92ee1
release-service update (#8511)
rh-tap-build-team[bot] Oct 7, 2025
86de676
chore(KFLUXSPRT-5397): Update konflux-suport-ops metrics ns in infra-…
Kousalya1998 Oct 7, 2025
e40beb5
KFLUXINFRA-2310: Add GPU Profile for all the Environments (#8514)
manish-jangra Oct 7, 2025
f5f5173
Promote release-service from development to staging (#8478)
FilipNikolovski Oct 7, 2025
a887bb2
Aplly Validating Admission Policy on repository validation on stg (#8…
mshaposhnik Oct 7, 2025
33bb8c4
Add namespace object for repository-validator configmap (#8522)
mshaposhnik Oct 7, 2025
81f50bf
update components/konflux-ui/staging/base/kustomization.yaml (#8501)
rh-tap-build-team[bot] Oct 7, 2025
1ed83f6
update components/mintmaker/staging/base/kustomization.yaml (#8516)
rh-tap-build-team[bot] Oct 7, 2025
43f9976
KubeArchive: debug watchers errors (#8517)
rh-hemartin Oct 7, 2025
facb4e7
update components/mintmaker/staging/base/kustomization.yaml (#8529)
rh-tap-build-team[bot] Oct 7, 2025
cdfa8eb
Fix CEL expression in validation admission policy (#8524)
mshaposhnik Oct 7, 2025
988152d
feat(SPRE-1268): updated prod monitoringstack endpoints for kube_pod_…
peet-rh Oct 7, 2025
1e2039f
info: fix invalid kustomization manifest (#8533)
sadlerap Oct 7, 2025
f869aa2
Use just list of items instead of json for validator (#8536)
mshaposhnik Oct 7, 2025
6399927
update components/internal-services/kustomization.yaml (#8531)
rh-tap-build-team[bot] Oct 7, 2025
51161d8
kueue: fix manifest formatting (#8537)
sadlerap Oct 7, 2025
8793b4b
mintmaker update (#8535)
rh-tap-build-team[bot] Oct 7, 2025
8784da9
KFLUXINFRA-2359 - Add bigger disk instance to all production clusters…
oswcab Oct 7, 2025
72d4e83
Disable kite nginx conf in p01 staging (#8539)
maruiz93 Oct 8, 2025
746989f
Fixup VADP validation message (#8543)
mshaposhnik Oct 8, 2025
4c02d41
Promote release-service from staging to production (#8521)
FilipNikolovski Oct 8, 2025
9898b45
update components/mintmaker/staging/base/kustomization.yaml (#8547)
rh-tap-build-team[bot] Oct 8, 2025
6f2f2ad
KubeArchive: another round of changes for watchers (#8544)
rh-hemartin Oct 8, 2025
900ca46
Enable kubearchive policies in osp (#8551)
maruiz93 Oct 8, 2025
bf07e1e
update components/mintmaker/production/base/kustomization.yaml (#8548)
rh-tap-build-team[bot] Oct 8, 2025
4c7cae2
feat(PVO11Y-4928): Implement Otel sidecar for Konflux UI (#8365)
martysp21 Oct 8, 2025
1f15d4d
Fix current Gemini workflow & add invoke support
enkeefe00 Oct 8, 2025
082a38f
test commit #1
enkeefe00 Oct 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
179 changes: 112 additions & 67 deletions .github/workflows/gemini-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,21 @@ on:
pull_request_review_comment:
types:
- 'created'
- 'edited'
pull_request_review:
types:
- 'submitted'
pull_request:
- 'edited'
pull_request_target:
types:
- 'opened'
issues:
types:
- 'opened'
- 'reopened'
issue_comment:
types:
- 'created'
# issues:
# types:
# - 'opened'
# - 'reopened'
# issue_comment:
# types:
# - 'created'

defaults:
run:
Expand Down Expand Up @@ -48,7 +50,7 @@ jobs:
# For issues: only on open/reopen
if: |-
(
github.event_name == 'pull_request'
github.event_name == 'pull_request_target'
) || (
github.event.sender.type == 'User' &&
startsWith(github.event.comment.body || github.event.review.body || github.event.issue.body, '@gemini-cli') &&
Expand Down Expand Up @@ -96,26 +98,69 @@ jobs:
core.setOutput('command', 'review');
const additionalContext = request.replace(/^@gemini-cli \/review/, '').trim();
core.setOutput('additional_context', additionalContext);
} else if (request.startsWith("@gemini-cli /triage")) {
core.setOutput('command', 'triage');
} else if (eventType === 'pull_request.opened' || eventType == 'pull_request_target.opened') {
core.setOutput('command', 'review');
} else if (request.startsWith("@gemini-cli")) {
core.setOutput('command', 'invoke');
const additionalContext = request.replace(/^@gemini-cli/, '').trim();
core.setOutput('additional_context', additionalContext);
} else if (eventType === 'pull_request.opened') {
core.setOutput('command', 'review');
} else if (['issues.opened', 'issues.reopened'].includes(eventType)) {
core.setOutput('command', 'triage');
} else {
core.setOutput('command', 'fallthrough');
core.setOutput('command', 'unknown');
}

## Triage support if needed later
# else if (request.startsWith("@gemini-cli /triage")) {
# core.setOutput('command', 'triage');
# } else if (['issues.opened', 'issues.reopened'].includes(eventType)) {
# core.setOutput('command', 'triage');
# }

- name: 'Add Gemini helper comment'
if: '${{ github.event_name }}.${{ github.event.action }} == "pull_request.opened"'
env:
GITHUB_TOKEN: '${{ steps.mint_identity_token.outputs.token || secrets.GITHUB_TOKEN || github.token }}'
PR_NUMBER: '${{ github.event.pull_request.number }}'
REPOSITORY: '${{ github.repository }}'
MESSAGE: |-
## 🤖 Gemini AI Assistant Available

Hi @${{ github.actor }}! I'm here to help with your pull request. You can interact with me using the following commands:

### Available Commands

- **`@gemini-cli /review`** - Request a comprehensive code review
- Example: `@gemini-cli /review Please focus on security and performance`

- **`@gemini-cli <your question>`** - Ask me anything about the codebase
- Example: `@gemini-cli How can I improve this function?`
- Example: `@gemini-cli What are the best practices for error handling here?`

### How to Use

1. Simply type one of the commands above in a comment on this PR
2. I'll analyze your code and provide detailed feedback
3. You can track my progress in the [workflow logs](https://github.com/${{ github.repository }}/actions)

### Permissions

Only **OWNER**, **MEMBER**, or **COLLABORATOR** users can trigger my responses. This ensures secure and appropriate usage.

---

*This message was automatically added to help you get started with the Gemini AI assistant. Feel free to delete this comment if you don't need assistance.*
run: |-
gh pr comment "${PR_NUMBER}" \
--body "${MESSAGE}" \
--repo "${REPOSITORY}"

- name: 'Acknowledge request'
env:
GITHUB_TOKEN: '${{ steps.mint_identity_token.outputs.token || secrets.GITHUB_TOKEN || github.token }}'
ISSUE_NUMBER: '${{ github.event.pull_request.number || github.event.issue.number }}'
MESSAGE: |-
🤖 Hi @${{ github.actor }}, I've received your request, and I'm working on it now! You can track my progress [in the logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for more details.
🤖 Hi @${{ github.actor }}, I've received your request, and I'm working on it now! I will be running the
job associated with '${{ outputs.command }}'' command. You can track my progress
[in the logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for more details.
REPOSITORY: '${{ github.repository }}'
run: |-
gh issue comment "${ISSUE_NUMBER}" \
Expand Down Expand Up @@ -150,54 +195,54 @@ jobs:
# additional_context: '${{ needs.dispatch.outputs.additional_context }}'
# secrets: 'inherit'

# invoke:
# needs: 'dispatch'
# if: |-
# ${{ needs.dispatch.outputs.command == 'invoke' }}
# uses: './.github/workflows/gemini-invoke.yml'
# permissions:
# contents: 'read'
# id-token: 'write'
# issues: 'write'
# pull-requests: 'write'
# with:
# additional_context: '${{ needs.dispatch.outputs.additional_context }}'
# secrets: 'inherit'
invoke:
needs: 'dispatch'
if: |-
${{ needs.dispatch.outputs.command == 'invoke' }}
uses: './.github/workflows/gemini-invoke.yml'
permissions:
contents: 'read'
id-token: 'write'
issues: 'write'
pull-requests: 'write'
with:
additional_context: '${{ needs.dispatch.outputs.additional_context }}'
secrets: 'inherit'

# fallthrough:
# needs:
# - 'dispatch'
# - 'review'
# - 'triage'
# - 'invoke'
# if: |-
# ${{ always() && !cancelled() && (failure() || needs.dispatch.outputs.command == 'fallthrough') }}
# runs-on: 'ubuntu-latest'
# permissions:
# contents: 'read'
# issues: 'write'
# pull-requests: 'write'
# steps:
# - name: 'Mint identity token'
# id: 'mint_identity_token'
# if: |-
# ${{ vars.APP_ID }}
# uses: 'actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b' # ratchet:actions/create-github-app-token@v2
# with:
# app-id: '${{ vars.APP_ID }}'
# private-key: '${{ secrets.APP_PRIVATE_KEY }}'
# permission-contents: 'read'
# permission-issues: 'write'
# permission-pull-requests: 'write'

# - name: 'Send failure comment'
# env:
# GITHUB_TOKEN: '${{ steps.mint_identity_token.outputs.token || secrets.GITHUB_TOKEN || github.token }}'
# ISSUE_NUMBER: '${{ github.event.pull_request.number || github.event.issue.number }}'
# MESSAGE: |-
# 🤖 I'm sorry @${{ github.actor }}, but I was unable to process your request. Please [see the logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for more details.
# REPOSITORY: '${{ github.repository }}'
# run: |-
# gh issue comment "${ISSUE_NUMBER}" \
# --body "${MESSAGE}" \
# --repo "${REPOSITORY}"
unknown:
needs:
- 'dispatch'
- 'review'
- 'triage'
- 'invoke'
if: |-
${{ always() && !cancelled() && (failure() || needs.dispatch.outputs.command == 'unknown') }}
runs-on: 'ubuntu-latest'
permissions:
contents: 'read'
issues: 'write'
pull-requests: 'write'
steps:
- name: 'Mint identity token'
id: 'mint_identity_token'
if: |-
${{ vars.APP_ID }}
uses: 'actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b' # ratchet:actions/create-github-app-token@v2
with:
app-id: '${{ vars.APP_ID }}'
private-key: '${{ secrets.APP_PRIVATE_KEY }}'
permission-contents: 'read'
permission-issues: 'write'
permission-pull-requests: 'write'

- name: 'Send failure comment'
env:
GITHUB_TOKEN: '${{ steps.mint_identity_token.outputs.token || secrets.GITHUB_TOKEN || github.token }}'
ISSUE_NUMBER: '${{ github.event.pull_request.number || github.event.issue.number }}'
MESSAGE: |-
🤖 I'm sorry @${{ github.actor }}, but I was unable to process your request. Please [see the logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for more details.
REPOSITORY: '${{ github.repository }}'
run: |-
gh issue comment "${ISSUE_NUMBER}" \
--body "${MESSAGE}" \
--repo "${REPOSITORY}"
Loading