From 603ec12b91bd1a68b208efeb5f179216f4eef30e Mon Sep 17 00:00:00 2001 From: Sugam Arora Date: Fri, 19 Jul 2024 00:15:05 +0530 Subject: [PATCH] Workflows --- .github/workflows/unassign-stale-issue.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unassign-stale-issue.yml b/.github/workflows/unassign-stale-issue.yml index a0cf4294..dc64351e 100644 --- a/.github/workflows/unassign-stale-issue.yml +++ b/.github/workflows/unassign-stale-issue.yml @@ -25,7 +25,7 @@ jobs: | jq -r '.updated_at') days_since_update=$(( ( $(date +%s) - $(date -d "$last_updated" +%s) ) / 86400 )) - if [ $days_since_update -gt 15 ]; then + if [ $days_since_update -gt 40 ]; then current_assignee=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ "https://api.github.com/repos/${{ github.repository }}/issues/$issue" \ | jq -r '.assignee.login')