Skip to content
chojuninenguPublic

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

74 Commits

Folders and files

Repository files navigation

FibBot GitHub Action

A GitHub Action written in Rust that scans pull request content for numbers, calculates their Fibonacci values, and posts the results as a comment.

Features (What the Bot is all about)

  • Extracts numbers from pull requests
  • Computes Fibonacci numbers
  • Posts results as a comment
  • Configurable with a flag and threshold

That which must be installed in your machine

  • Rust
  • Docker (for building and testing)

Build the Action

git clone https://github.com/chojuninengu/FibBot.git  
cd FibBot  
cargo build --release  
docker build -t FibBot.

How to run this in your local machine

docker run --rm \
  -e GITHUB_TOKEN=your_token \
  -e GITHUB_REPOSITORY=owner/repo \
  -e PR_NUMBER=123 \
  fibbot --enable-fib --max-threshold 100

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages