bots

Manage configuration files for bots.

Functions:

make_artefact_cleaner(repo_path, templates)

Add configuration for https://github.com/marketplace/actions/github-actions-artifact-cleaner to the desired repo.

make_auto_assign_action(repo_path, templates)

Add configuration for auto-assign to the desired repo.

make_dependabot(repo_path, templates)

Add configuration for dependabot to the desired repo.

make_dependabotv2(repo_path, templates)

Add configuration for dependabot to the desired repo.

make_imgbot(repo_path, templates)

Add configuration for imgbot to the desired repo.

make_stale_bot(repo_path, templates)

Add configuration for stale to the desired repo.

make_artefact_cleaner(repo_path, templates)[source]

Add configuration for https://github.com/marketplace/actions/github-actions-artifact-cleaner to the desired repo.

Parameters
  • repo_path (Path) – Path to the repository root.

  • templates (Environment)

New in version 2020.11.23.

Return type

List[str]

make_auto_assign_action(repo_path, templates)[source]

Add configuration for auto-assign to the desired repo.

https://github.com/kentaro-m/auto-assign

Parameters
  • repo_path (Path) – Path to the repository root.

  • templates (Environment)

Return type

List[str]

make_dependabot(repo_path, templates)[source]

Add configuration for dependabot to the desired repo.

https://dependabot.com/

Parameters
  • repo_path (Path) – Path to the repository root.

  • templates (Environment)

Deprecated since version 2020.12.11.

Return type

List[str]

make_dependabotv2(repo_path, templates)[source]

Add configuration for dependabot to the desired repo.

https://dependabot.com/

Parameters
  • repo_path (Path) – Path to the repository root.

  • templates (Environment)

New in version 2020.12.11.

Return type

List[str]

make_imgbot(repo_path, templates)[source]

Add configuration for imgbot to the desired repo.

https://imgbot.net/

Parameters
  • repo_path (Path) – Path to the repository root.

  • templates (Environment)

Return type

List[str]

make_stale_bot(repo_path, templates)[source]

Add configuration for stale to the desired repo.

https://probot.github.io/apps/stale/

Parameters
  • repo_path (Path) – Path to the repository root.

  • templates (Environment)

Return type

List[str]