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:
4
.github/workflows/post-release.yml
vendored
4
.github/workflows/post-release.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user