This action posts a comment on related closed or fixed issues after a release is published with a link to the release. For example:
🥳 This issue is included in [v1.0.0](https://github.com/agrc/release-issue-notifications-action/releases/tag/v1.0.0)
release.yml
name: Release Events
on:
release:
types: [published]
permissions:
contents: read
pull-requests: write
issues: write
jobs:
notify:
name: Notifications
runs-on: ubuntu-latest
steps:
- name: Release Notifier
uses: agrc/release-issue-notifications-action@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
This action is built and distributed via the included GitHub action workflows.
You may test some of the utilities that this action uses locally by running scripts in the scripts
directory. For example:
npx tsx scripts/testGetIssueNumbers.ts $(gh auth token) 2a90bc980886321aca554eddc47b98c7638617b3 89327edb99c324c82aced47238c6b29e03f0a23d agrc release-issue-notifications-action