Skip to content

fix: Removed unnecessary dependency that was causing an increase in f… #21

fix: Removed unnecessary dependency that was causing an increase in f…

fix: Removed unnecessary dependency that was causing an increase in f… #21

name: Patch Notes Preview
on:
pull_request:
branches:
- main
permissions:
contents: write
issues: write
pull-requests: write
jobs:
patch-notes-preview:
name: Patch Notes Preview
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 16
- name: Node Dependencies
run: |
npm install \
[email protected] \
@semantic-release/[email protected] \
@semantic-release/[email protected] \
@semantic-release/[email protected] \
@semantic-release/[email protected]
- name: Patch Notes
id: patch-notes
uses: guilhermetod/[email protected]
- name: Find PR Comment
uses: peter-evans/find-comment@v2
id: pr-comment
with:
issue-number: ${{ github.event.pull_request.number }}
token: ${{ secrets.GITHUB_TOKEN }}
comment-author: "github-actions[bot]"
body-includes: Patch notes for this PR
- name: Comment On PR
uses: peter-evans/create-or-update-comment@v2
with:
edit-mode: replace
comment-id: ${{ steps.pr-comment.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
token: ${{ secrets.GITHUB_TOKEN }}
body: |
Patch notes for this PR:
${{ steps.patch-notes.outputs.releaseNotes }}