From 0579eb5df518b24b7c47a6b51a4eb61072431fb0 Mon Sep 17 00:00:00 2001 From: Loganathan G P <106108501+logusivam@users.noreply.github.com> Date: Tue, 18 Aug 2026 06:46:15 +0530 Subject: [PATCH 1/2] fix: run husky prepare step conditionally to prevent vercel and render build failures --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index aa1f44d..d3e8acc 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "server" ], "scripts": { - "prepare": "husky install" + "prepare": "node -e \"try { require('child_process').execSync('husky', { stdio: 'inherit' }) } catch (e) {}\"" }, "devDependencies": { "husky": "^9.1.0", From 4242fc7daff1a4f2e4541f782ec8ef75254b4bcb Mon Sep 17 00:00:00 2001 From: Loganathan G P <106108501+logusivam@users.noreply.github.com> Date: Tue, 18 Aug 2026 10:45:59 +0530 Subject: [PATCH 2/2] ci(workflows): update stale and release permissions and token configurations --- .github/workflows/release.yml | 3 ++- .github/workflows/stale.yml | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f2b0372..a9d7879 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + token: ${{ secrets.GH_PAT }} - name: Use Node.js uses: actions/setup-node@v4 @@ -47,4 +48,4 @@ jobs: draft: false prerelease: false env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_PAT }} \ No newline at end of file diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 0a4fc3e..868a41e 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -7,6 +7,9 @@ on: jobs: stale: runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write steps: - uses: actions/stale@v9 with: @@ -15,4 +18,4 @@ jobs: close-issue-message: 'This issue was closed because it has been inactive for 14 days.' close-pr-message: 'This PR was closed because it has been inactive for 14 days.' days-before-stale: 30 - days-before-close: 14 + days-before-close: 14 \ No newline at end of file