Catana Documentation
  • 🐱Overview
    • Introduction
    • Installation
  • 📖Core concepts
    • Regular and expiring TODOs
    • Assigning TODOs
    • Create, update and delete
    • Validation
    • Ignored TODOs
  • 🔔Triggers
    • Overview
    • Date
    • GitHub Issue closed
    • GitHub Pull Request closed
    • Ruby Gem released
    • Ruby Gem upgraded
    • Ruby Version released
    • Ruby Version upgraded
  • 🤖Commands
    • Overview
    • Done
    • Bump
    • Link
  • 🔗Grouped TODOs
    • Overview
  • ⚙️Configuration
    • Open GitHub issues
    • Enforce expiring TODOs
    • Rules
    • Exclusion list
Powered by GitBook
On this page
  • Usage with a syntax
  • Authorization
  • Usage when detected automatically

Was this helpful?

  1. Triggers

GitHub Pull Request closed

PreviousGitHub Issue closedNextRuby Gem released

Last updated 6 months ago

Was this helpful?

The GitHub Pull Request closed is an alias to the

Usage with a syntax

➡️ TODO(on:pr_closed('lodash', 'lodash', 44))

Authorization

This trigger can be used to monitor pull requests on any public repositories or private repositories belonging to the same organization the TODO is introduced.

Examples

Expire a TODO when the Pull Request #44 from the lodash repository is closed

➡️ TODO(on:pr_closed('lodash', 'lodash', 44))

Usage when detected automatically

When the repository or organisation is not specified, Catana will assume you are referring to a Pull Request in the current repository.

Examples

TODO: Skipping this test until we fix #881 Equivalent to: pr_closed('org', 'repo', 881)

🔔
GitHub Issue closed trigger.