From 44ca3a40732c4cdcfec78854eeaa7a4a4d9abf5a Mon Sep 17 00:00:00 2001 From: Elliot DeNolf Date: Thu, 5 Sep 2024 11:26:59 -0400 Subject: [PATCH] ci: post-release commenter --- .github/workflows/post-release.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/post-release.yml diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml new file mode 100644 index 0000000000..5c465a1cc3 --- /dev/null +++ b/.github/workflows/post-release.yml @@ -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}