Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.37 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.37 KB

release-comment-action

A GitHub Action to automatically comment on Pull Requests and related issues about a release. Used by Remix and React Router.

Usage

Basic usage can be enabled simply by using the following.

- name: 📝 Comment on related issues and pull requests
  uses: remix-run/[email protected]

This covers a lot of use cases, even this repo uses this set up, however in a monorepo set up you may want to to follow a specific package (like remix, or react-router). In those situations the following can be used to filter on only the remix tag and only commits that affect the ./packages directory.

- name: 📝 Comment on related issues and pull requests
  uses: remix-run/[email protected]
  with:
    DIRECTORY_TO_CHECK: "./packages"
    PACKAGE_VERSION_TO_FOLLOW: "remix"

Options

Option Required Default
GH_TOKEN n ${{ github.token }}
GITHUB_REPOSITORY n ${{ github.repository }}
DIRECTORY_TO_CHECK n ./
PACKAGE_VERSION_TO_FOLLOW n