Skip to content

Commit af35389

Browse files
committed
feat: GitBit Intelligent Issue Bot
1 parent d653830 commit af35389

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

action.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# action.yml
2+
name: 'GitBit Intelligent Issue Bot'
3+
description: 'Analyzes new issues to suggest labels, assignees, and related issues.'
4+
author: 'LMLK-seal'
5+
6+
inputs:
7+
github-token:
8+
description: 'The GITHUB_TOKEN secret.'
9+
required: true
10+
11+
runs:
12+
using: 'composite'
13+
steps:
14+
- name: Set up Python
15+
uses: actions/setup-python@v4
16+
with:
17+
python-version: '3.10'
18+
19+
- name: Install dependencies
20+
shell: bash
21+
run: pip install -r ${{ github.action_path }}/requirements.txt
22+
23+
- name: Run GitBit Bot
24+
shell: bash
25+
env:
26+
GITHUB_TOKEN: ${{ inputs.github-token }}
27+
# GITHUB_EVENT_PATH and GITHUB_REPOSITORY are automatically available
28+
run: python -m ${{ github.action_path }}/gitbit.main

0 commit comments

Comments
 (0)