fix: Removed unnecessary dependency that was causing an increase in f… #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |