Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for Node.js 20 #7

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/comment-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
if: github.event.pull_request
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: lykahb/paths-filter@v2
- uses: actions/checkout@v4
- uses: MercuryTechnologies/paths-filter@28cec18b46897a4b31b6003a92d5dcda39c9078f
id: filter
with:
stat: json
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
run: |
echo "passed=$(jq 'to_entries | map(.value) | (map(.additionCount + .deletionCount) | ${{ inputs.minimum-lines }} <= add) and (map (.fileCount) | ${{ inputs.minimum-files }} <= add)' <<< '${{ inputs.diff-stat }}')" >> "${GITHUB_OUTPUT}"
- if: steps.condition.outputs.passed == 'true'
uses: peter-evans/find-comment@v2
uses: peter-evans/find-comment@v3
id: find-comment
with:
issue-number: ${{ github.event.pull_request.number }}
Expand All @@ -37,7 +37,7 @@ runs:
echo "$COMMENT_BODY" >> $GITHUB_OUTPUT
echo "PR_COMMENT_EOF" >> $GITHUB_OUTPUT
- if: steps.condition.outputs.passed == 'true'
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v4
id: create-or-update-comment
with:
comment-id: ${{ steps.find-comment.outputs.comment-id }}
Expand Down