Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 853 Bytes

workflow.md

File metadata and controls

19 lines (13 loc) · 853 Bytes

Integration on GitHub Actions

Preconditions

Add token to the secrets of repository for connection to GitHub API with permission to write contents.

Configuration of GitHub Actions

You have to config workflow of your project. See example in this project.

It is split on two jobs:

  • The first one gets count of opened Pull Request with new registered TODOs.
  • The second one responsible for the whole process of registration of TODOs. It is skipped when opened PRs detected by previous job to avoid duplicated registration of TODOs.

NOTE: Pay attention that workflow of this project depends on using of its own binary file. But you have to install TODO Registrar and use proper path to binary file.