ci: release comment mod (#8084)

Release commenter to comment on PRs/issues that have had an associated
release.

NOTE: Commenting is currently disabled. Will be keeping an eye on the CI
output as to when to enable.

Heavily modified version of
[apexskier/github-release-commenter](https://github.com/apexskier/github-release-commenter).

Updates:
- Filters to closed PRs only
- Adds tag filter to support non-linear releases
- Better logging
- Moved to pnpm
- Uses @vercel/ncc for packaging
This commit is contained in:
Elliot DeNolf
2024-09-05 22:53:11 -04:00
committed by GitHub
parent 7002ca78b9
commit 4efb9dd867
16 changed files with 44603 additions and 2 deletions

View File

@@ -13,11 +13,13 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.release.target_commitish || github.ref }}
- run: echo "npm_version=$(npm pkg get version | tr -d '"')" >> "$GITHUB_ENV"
- uses: apexskier/github-release-commenter@v1
- uses: ./.github/actions/release-commenter
continue-on-error: true
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag-filter: 'v\d'
# Disable commenting for now
# Possible limitation because we release off of main and beta branches: