https://github.com/marcjazz/ticket-assistant
A bot that searches a repository’s issues for potential duplicates.
https://github.com/marcjazz/ticket-assistant
github-actions github-api octocrab rust
Last synced: 4 months ago
JSON representation
A bot that searches a repository’s issues for potential duplicates.
- Host: GitHub
- URL: https://github.com/marcjazz/ticket-assistant
- Owner: Marcjazz
- License: other
- Created: 2025-03-01T04:18:54.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2025-03-01T05:10:30.000Z (4 months ago)
- Last Synced: 2025-03-01T05:26:14.766Z (4 months ago)
- Topics: github-actions, github-api, octocrab, rust
- Language: Rust
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ticket Assistant
A bot that searches a repository’s issues for potential duplicates.---
## Current Functionality
For now, it acts as a Fibonacci bot that extracts numbers from a pull request (PR) and calculates their Fibonacci values.---
## How to Use
### Add it to Your Workflow
```yml
steps:
- name: Compute Fibbot
uses: @marcjazz/ticket-assistant@v1
with:
enable_fib: true
max_threshold: 105
pr_number: ${{ github.event.pull_request.number }}
```
**Fixes:**
- "pontential" → "potential"
- "threshhold" → "threshold"
- Removed unnecessary `-` before parameters in YAML (they should be key-value pairs).### Run it Locally
To run the action locally, clone the repository:```shell
git clone https://github.com/Marcjazz/ticket-assistant.git
```#### Build and Run Using Docker
Run the following command:
- `true` enables Fibonacci computation.
- `105` sets the maximum threshold.```shell
make start true 105
```
**Fixes:**
- Clarified explanation of arguments.
- Added missing parameter `100` to match expected usage.---
## Testing
Run the following command to execute test cases:
```shell
cargo test
```---
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.