Skip to content

Post Release Comments

Actions
Automates the process of commenting on Issues/PRs when related fixes have been released
v1.0.6
Latest
Star (4)

Post Release Comments

A GitHub Action which comments on Issues and Pull Requests when they've been addressed within a release.

Example

  1. User opens GitHub Issue #123 with a bug
  2. Maintainer fixes #123 & closes issue
  3. Maintainer tags a new release containing the fix
  4. This action will leave a comment on Issue #123: Released as part of v1.2.3

Usage

This action assumes you keep a CHANGELOG.md and you have some way of getting the latest release from that changelog. I often use statamic/changelog-action for this.

Anyways, this is how you'd implement this in an Actions workflow:

- name: Comment on related issues
  uses: duncanmcclean/[email protected]
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  with:
    version: ${{ github.ref }}
    changelog: ${{ steps.changelog.outputs.text }}

Sponsor me!

If you use this Action in one of your workflows, I'd appreciate it if you could sponsor me! I build ad-hock things like this but I also build addons for a CMS called Statamic.

Notes to self

Steps to release

npm run prepare
git add dist
git commit -m "v.x.x"
git push
git tag v1.x.x
git push --tags

Post Release Comments is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Automates the process of commenting on Issues/PRs when related fixes have been released
v1.0.6
Latest

Post Release Comments is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.