Skip to content

marcjazz/ticket-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  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:

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.
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:

cargo test

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A bot that searches a repository’s issues for potential duplicates.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors