Skip to content

Commit

Permalink
ci: post-release commenter
Browse files Browse the repository at this point in the history
  • Loading branch information
denolfe committed Sep 5, 2024
1 parent dc7c952 commit 44ca3a4
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: post-release

on:
release:
types:
- published
branches:
- beta

jobs:
post_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: echo "npm_version=$(npm pkg get version | tr -d '"')" >> "$GITHUB_ENV"
- uses: apexskier/github-release-commenter@v1
continue-on-error: true
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Disable commenting for now
# Possible limitation because we release off of main and beta branches:
# https://github.com/apexskier/github-release-commenter#known-limitations
comment-template: ''

# TODO: Re-enable this after verifying that the action works as expected
# comment-template: |
# 🚀 This is included in version {release_link}

0 comments on commit 44ca3a4

Please sign in to comment.