diff --git a/.github/workflows/close-duplicates.yml b/.github/workflows/close-duplicates.yml index df8f1a838b..493aaedf52 100644 --- a/.github/workflows/close-duplicates.yml +++ b/.github/workflows/close-duplicates.yml @@ -21,18 +21,18 @@ jobs: - name: reply if: ${{ steps.command.outputs.continue == 'true' }} run: | - gh issue comment "$NUMBER" --body 'Hi there! - This is an automatic reply. `Share and enjoy`. + ISSUE_TITLE=$(gh issue view ${{ steps.command.outputs.params }} --json title --jq '.title') - This issue is probably a duplicate of issue #${{ steps.command.outputs.params }}. This issue probably refers to the same bug or feature request as your issue. + gh issue comment "$NUMBER" --body "Hi there! - Please refer to that issue for support. + This is an automatic reply. \`Share and enjoy\`. - Thank you for your contribution.' + Your issue is probably a duplicate of issue #${{ steps.command.outputs.params }}: [$ISSUE_TITLE](https://github.com/firefly-iii/firefly-iii/issues/${{ steps.command.outputs.params }}). Please refer to issue #${{ steps.command.outputs.params }} for support. - gh issue close "$NUMBER" --reason completed - gh issue lock "$NUMBER" + You can close this issue now. If you believe this is not in fact a duplicate, please reply and let us know. Otherwise, this issue will be automatically closed in a few days time. + + Thank you for your contributions." env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_REPO: ${{ github.repository }} diff --git a/package-lock.json b/package-lock.json index 21c1e30098..45e0bd557b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,7 @@ "axios": "^1.6.3", "laravel-vite-plugin": "^0.8.1", "sass": "^1.69.6", - "vite": "^4.5.1", + "vite": "^4.5.2", "vite-plugin-manifest-sri": "^0.1.0" } }, @@ -1037,9 +1037,9 @@ "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, "node_modules/vite": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.1.tgz", - "integrity": "sha512-AXXFaAJ8yebyqzoNB9fu2pHoo/nWX+xZlaRwoeYUxEqBO+Zj4msE5G+BhGBll9lYEKv9Hfks52PAF2X7qDYXQA==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.2.tgz", + "integrity": "sha512-tBCZBNSBbHQkaGyhGCDUGqeo2ph8Fstyp6FMSvTtsXeZSPpSMGlviAOav2hxVTqFcx8Hj/twtWKsMJXNY0xI8w==", "dev": true, "dependencies": { "esbuild": "^0.18.10", diff --git a/package.json b/package.json index 4dda2965cd..f2b66c5674 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "axios": "^1.6.3", "laravel-vite-plugin": "^0.8.1", "sass": "^1.69.6", - "vite": "^4.5.1", + "vite": "^4.5.2", "vite-plugin-manifest-sri": "^0.1.0" }, "dependencies": {