Skip to main content

GitHub automatic project manager tool

Project description

Python package Coverage Status

github-project-automation

This tool will help you maintain and organize your GitHub project using an automation tool.

Use case

In case you work with GitHub projects, and maintain a board for your project this tool is for you. As we offer a functionality of managing your board in GitHub project boards. This is by searching for the issues or pull request you wish to include in the board (By a set of filter you provide) and placing them in the right place in your board for you - both in the correct column and the correct place within the column.

The supported functionality is:

  • Adding new issues or pull requests to your board.
  • Moving issues or pull requests to the correct column of your project, with the priority in mind.
  • Sorting your issues or pull requests within your existing columns by their priorities and creation times.
  • Removing issues or pull requests that fail to meet your filters.

In order to configure github-project-automation you will need to create an .ini file, here is an example:

[General]
closed_issues_column = Done
merged_pull_requests_column = Merged
project_owner = khulnasoft
repository_name = test
project_number = 1
priority_list = Critical,High,Medium,Low
filter_labels=bug
must_have_labels=test
cant_have_labels=not test
column_names = Queue,In progress,Review in progress,Waiting for Docs
column_rule_desc_order = Queue,Waiting for Docs,Review in progress,In progress

[Actions]
remove
add
move

[Queue]
issue.assignees = false

[In progress]
issue.assignees = true
pull_request.assignees = true

[Review in progress]
issue.assignees = true
issue.pull_request = true
issue.pull_request.review_requested = true
pull_request.review_requested = true

[Waiting for Docs]
issue.assignees = true
issue.pull_request = true
issue.pull_request.review_requested = true
issue.pull_request.review_completed = true
issue.pull_request.assignees = khulnasoft

While the General and Actions sections must be in the .ini the rest of the sections are dynamic, and each represents the rules for each of your columns. The keys listed in the column section are the attributes of the classes which represent the issue or pull request you are working on. For a more detailed explanation please click here

GitHub Actions

In order to use this in a github action please follow this documentation.


Usage

There are three options to run the tool:

  1. Configure an .ini file like described above and then using the github-project-automation manage -c <path to ini> command or the wehbhook-manage command which is used for events.
  2. Import the code and create some more custom rules for your self, like importing issues from another board(FYI this will be added to the tool as well).
  3. GitHub actions - In order to use this in a github action please follow this documentation.

Token

In any solution you will have to set an envioroonment variable GITHUB_TOKEN which is the token you will generate in order for the tool to connect to your GitHub project. Although we do offer the option to pass that along with your client object while taking the API option(Usage case number 2).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

github_project_automation-1.1.0.tar.gz (34.0 kB view details)

Uploaded Source

Built Distribution

github_project_automation-1.1.0-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

Details for the file github_project_automation-1.1.0.tar.gz.

File metadata

File hashes

Hashes for github_project_automation-1.1.0.tar.gz
Algorithm Hash digest
SHA256 b642ad2845cbb2df73ed92409dfc6f3f6e0233338febb40b4c07c3ca77831628
MD5 4649f7b801984e08e7c187a128b4816d
BLAKE2b-256 c73ddcebbe97a57b4ca79d9aa7f777998620dba63d4e8e9e5cb1d0baba545d2b

See more details on using hashes here.

File details

Details for the file github_project_automation-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for github_project_automation-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f027d64f248eb3026d5d6087475fd8a9b813e244df57ce516d64a1901c9a3c56
MD5 54144803e309b57d3d239ade0f4fda51
BLAKE2b-256 269e00dd01e330f8c2467298048a9a3e7a2a2e476b59e3c5eba59ca4c487547b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page