Skip to content

Lightning-AI/probot

 
 

Repository files navigation

lightning-probot

A GitHub App built with Probot that implements bot actions for PyTorch Lightning.

Forked from https://github.com/pytorch/probot.

auto-cc-bot

Add an issue to your project like pytorch/pytorch#24422 and add a .github/lightning-probot.yml file with:

# https://github.com/Lightning-AI/lightning/issues/10530
tracking_issue: 10530

Based on who is listed in the tracking issue, the bot will automatically CC people when labels are added to an issue.

check-group

Adaptation of https://github.com/tianhaoz95/check-group/blob/master/README.md that works as a GitHub action, is only triggered with the pull_request event type, and checks the job statuses with an interval.

Setup

make build

Deploying GitHub Actions

Follow the instructions at https://github.com/actions/toolkit/blob/master/docs/action-versioning.md

Contributing

Development Guide on this fork

  • node_modules and dist are source controlled because it's needed for github actions. Alternatively, we could use something like @vercel/ncc in future to avoid this.
  • To develop:
    • Install yarn: npm install -g yarn
    • When done, run yarn format && yarn lint && yarn build
    • If you make any changes to dependencies, use yarn install --frozen-lockfile
    • Check in changes to /src, /dist, and any relevant changes to node_modules and lockfile

Other

If you feel like an improvement could be made, please open an issue in the PyTorch Lightning repository instead.

https://github.com/PyTorchLightning/pytorch-lightning

License

(cc-bot) ISC © 2019 Edward Z. Yang ezyang@fb.com (https://pytorch.org) (check-group) ISC © 2020 Tianhao Zhou tianhaoz@umich.edu ISC © 2022 Carlos Mocholí carlos@lightning.ai (https://lightning.ai)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Contributors

Languages

  • TypeScript 98.1%
  • Dockerfile 1.7%
  • Makefile 0.2%