A custom GitHub App to aid Ryujinx with project management and moderation
Go to file
dependabot[bot] d1a434d442
Bump pygithub from 2.2.0 to 2.3.0 (#11)
Bumps [pygithub](https://github.com/pygithub/pygithub) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/pygithub/pygithub/releases)
- [Changelog](https://github.com/PyGithub/PyGithub/blob/main/doc/changes.rst)
- [Commits](https://github.com/pygithub/pygithub/compare/v2.2.0...v2.3.0)

---
updated-dependencies:
- dependency-name: pygithub
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 18:55:15 +02:00
.github Remove marysaka from reviewers :( 2024-03-18 13:02:08 +01:00
ryujinx_mako Don't assign reviewers to closed PRs 2024-03-05 00:19:52 +01:00
templates Create a new python package for the current scripts (#1) 2023-08-30 19:00:29 +02:00
tools Refactor Mako actions, fix setup-git command & add exec-ryujinx-tasks command (#3) 2024-01-27 20:49:49 +01:00
.editorconfig Create a new python package for the current scripts (#1) 2023-08-30 19:00:29 +02:00
.gitignore Initial commit 2023-08-19 21:27:50 +02:00
LICENSE Create a new python package for the current scripts (#1) 2023-08-30 19:00:29 +02:00
README.md Refactor Mako actions, fix setup-git command & add exec-ryujinx-tasks command (#3) 2024-01-27 20:49:49 +01:00
action.yml Try to fix GitHub Action path 2024-01-27 21:00:46 +01:00
poetry.lock Bump pygithub from 2.2.0 to 2.3.0 (#11) 2024-04-15 18:55:15 +02:00
pyproject.toml Bump pygithub from 2.2.0 to 2.3.0 (#11) 2024-04-15 18:55:15 +02:00

README.md

Ryujinx-Mako

A custom GitHub App to aid Ryujinx with project management and moderation

Usage

Add the following step to your workflow:

- name: Run Ryujinx-Mako
  uses: Ryujinx/Ryujinx-Mako@master
  with:
    command: <Mako subcommand>
    args: <subcommand args>
    app_id: ${{ secrets.MAKO_APP_ID }}
    private_key: ${{ secrets.MAKO_PRIVATE_KEY }}
    installation_id: ${{ secrets.MAKO_INSTALLATION_ID }}

Required environment variables

  • MAKO_APP_ID: the GitHub App ID
  • MAKO_PRIVATE_KEY: the contents of the GitHub App private key
  • MAKO_INSTALLATION_ID: the GitHub App installation ID

Available commands

usage: ryujinx_mako [-h] {setup-git,update-reviewers,exec-ryujinx-tasks} ...

A python module to aid Ryujinx with project management and moderation

options:
  -h, --help            show this help message and exit

subcommands:
  {setup-git,update-reviewers,exec-ryujinx-tasks}
    setup-git           Configure git identity for Ryujinx-Mako
    update-reviewers    Update reviewers for the specified PR
    exec-ryujinx-tasks  Execute all Ryujinx tasks for a specific event

setup-git

usage: ryujinx_mako setup-git [-h] [-l]

Configure git identity for Ryujinx-Mako

options:
  -h, --help   show this help message and exit
  -l, --local  configure the git identity only for the current repository

update-reviewers

usage: ryujinx_mako update-reviewers [-h] repo_path pr_number config_path

Update reviewers for the specified PR

positional arguments:
  repo_path    full name of the GitHub repository (format: OWNER/REPO)
  pr_number    the number of the pull request to check
  config_path  the path to the reviewers config file

options:
  -h, --help   show this help message and exit

exec-ryujinx-tasks

usage: ryujinx_mako exec-ryujinx-tasks [-h] --event-name EVENT_NAME
                                       --event-path EVENT_PATH [-w WORKSPACE]
                                       repo_path run_id

Execute all Ryujinx tasks for a specific event

positional arguments:
  repo_path             full name of the GitHub repository (format:
                        OWNER/REPO)
  run_id                The unique identifier of the workflow run

options:
  -h, --help            show this help message and exit
  --event-name EVENT_NAME
                        the name of the event that triggered the workflow run
  --event-path EVENT_PATH
                        the path to the file on the runner that contains the
                        full event webhook payload
  -w WORKSPACE, --workspace WORKSPACE
                        the working directory on the runner