From 79484cc1944aa627577760873f7bd08c285ad702 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 14 Jan 2024 11:18:17 +0100 Subject: [PATCH 1/4] Experimental action [skip ci] --- .github/workflows/close-duplicates.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/close-duplicates.yml b/.github/workflows/close-duplicates.yml index df8f1a838b..fab6446ff8 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: | + + ISSUE_TITLE=$(gh issue view ${{ steps.command.outputs.params }} --json title --jq '.title') + gh issue comment "$NUMBER" --body 'Hi there! This is an automatic reply. `Share and enjoy`. - 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. + 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. - Please refer to that issue for support. + 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 contribution.' - - gh issue close "$NUMBER" --reason completed - gh issue lock "$NUMBER" + Thank you for your contributions.' env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_REPO: ${{ github.repository }} From 2c0da2cf261deb34ba0e20088a4835f210ceee1c Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 14 Jan 2024 11:19:47 +0100 Subject: [PATCH 2/4] Duh, single quotes [skip ci] --- .github/workflows/close-duplicates.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/close-duplicates.yml b/.github/workflows/close-duplicates.yml index fab6446ff8..d0b2f84ffe 100644 --- a/.github/workflows/close-duplicates.yml +++ b/.github/workflows/close-duplicates.yml @@ -24,7 +24,7 @@ jobs: ISSUE_TITLE=$(gh issue view ${{ steps.command.outputs.params }} --json title --jq '.title') - gh issue comment "$NUMBER" --body 'Hi there! + gh issue comment "$NUMBER" --body "Hi there! This is an automatic reply. `Share and enjoy`. @@ -32,7 +32,7 @@ jobs: 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.' + Thank you for your contributions." env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_REPO: ${{ github.repository }} From 7db21612a03443e86248aec4537fef58aa7294bf Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 14 Jan 2024 11:20:43 +0100 Subject: [PATCH 3/4] Escape backticks [skip ci] --- .github/workflows/close-duplicates.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/close-duplicates.yml b/.github/workflows/close-duplicates.yml index d0b2f84ffe..493aaedf52 100644 --- a/.github/workflows/close-duplicates.yml +++ b/.github/workflows/close-duplicates.yml @@ -26,7 +26,7 @@ jobs: gh issue comment "$NUMBER" --body "Hi there! - This is an automatic reply. `Share and enjoy`. + This is an automatic reply. \`Share and enjoy\`. 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. From 0349cdbc1b488198f12d29f369bc0eed9fead6dd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 20 Jan 2024 05:39:48 +0000 Subject: [PATCH 4/4] Bump vite from 4.5.1 to 4.5.2 Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.1 to 4.5.2. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v4.5.2/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v4.5.2/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8fc9beee88..67e6d015bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,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" } }, @@ -968,9 +968,9 @@ } }, "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 3fb7d5b3be..2a4821f1db 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": {