> For the complete documentation index, see [llms.txt](https://iletai.gitbook.io/using-gemini-ai-with-improve-workload-github/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://iletai.gitbook.io/using-gemini-ai-with-improve-workload-github/set-a-discussions-event-as-a-trigger.md).

# Set An Issues Event As A Trigger

With custom scripts below, we need put it on events trigger of Github Action Workflow. With this demo, we will put in on issues type when issues was raise and had any update.

```github-actions-workflow
name: Using Gemini Action In WorkFlows.

on:
  issues:
    types: [opened, edited]

```

So when issues was created by anyone, Github CICD will be trigger as defined

<figure><img src="https://1449107615-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ2amB1nq8GkaeSmtq3op%2Fuploads%2FI8kGMTyQNNaG7KTiZIde%2Fimage.png?alt=media&amp;token=ed835ed9-81c4-4f98-987d-2195676f86ee" alt=""><figcaption></figcaption></figure>
