-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 909 Bytes
/
ai-issue.yml
File metadata and controls
37 lines (31 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Gemeni Auto-Issue Generator
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, labeled]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 2
- uses: actions/setup-python@v6
with:
python-version: '3.11'
- run: pip install PyGithub requests
- run: python process_event.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
REPOSITORY: ${{ github.repository }}
EVENT_NAME: ${{ github.event_name }}
COMMIT_SHA: ${{ github.sha }}
PR_NUMBER: ${{ github.event.pull_request.number || '' }}
ALLOWED_USER: ${{ secrets.ALLOWED_USER }}