Bladeren bron

feat: update stale message with the new label

trgiangdo 1 jaar geleden
bovenliggende
commit
a0f37f607c
1 gewijzigde bestanden met toevoegingen van 14 en 14 verwijderingen
  1. 14 14
      .github/workflows/manage-stale-issue-pr.yml

+ 14 - 14
.github/workflows/manage-stale-issue-pr.yml

@@ -13,30 +13,30 @@ jobs:
       - uses: actions/stale@v9
       - uses: actions/stale@v9
         with:
         with:
           operations-per-run: 50  # Max number of operations per run (including fetch or close issues and PRs, set or update labels, add comments, delete branches, etc.)
           operations-per-run: 50  # Max number of operations per run (including fetch or close issues and PRs, set or update labels, add comments, delete branches, etc.)
-          start-date: '2024-05-05'  # Skip stale action for issues/PRs created before 5th May 2024
+          start-date: "2024-05-05"  # Skip stale action for issues/PRs created before 5th May 2024
           include-only-assigned: true
           include-only-assigned: true
           days-before-stale: 14  # Idle number of days before marking issues/PRs stale
           days-before-stale: 14  # Idle number of days before marking issues/PRs stale
-          stale-issue-message: 'This issue has been labelled as stale because it has been inactive for more than 14 days. If you would like to continue working on this issue, please add another comment or create a PR that links to this issue. If a PR has already been created which refers to this issue, then you should explicitly mention this issue in the relevant PR. For more information please refer to the contributing guidelines.'
-          stale-issue-label: 'Waiting for Contributor'
-          stale-pr-message: 'This PR has been labelled as stale because it has been inactive for more than 14 days. If you would like to continue working on this PR, then please add another comment or this PR will be closed in 14 days.'
-          stale-pr-label: 'Waiting for Contributor'
+          stale-issue-message: "This issue has been labelled as \"🥶Waiting for contributor\" because it has been inactive for more than 14 days. If you would like to continue working on this issue, please add another comment or create a PR that links to this issue. If a PR has already been created which refers to this issue, then you should explicitly mention this issue in the relevant PR. Otherwise, you will be unassigned in 14 days. For more information please refer to the contributing guidelines."
+          stale-issue-label: "🥶Waiting for contributor"
+          stale-pr-message: "This PR has been labelled as \"🥶Waiting for contributor\" because it has been inactive for more than 14 days. If you would like to continue working on this PR, then please add new commit or another comment, otherwise this PR will be closed in 14 days. For more information please refer to the contributing guidelines."
+          stale-pr-label: "🥶Waiting for contributor"
           days-before-pr-close: 14
           days-before-pr-close: 14
-          close-pr-message: 'This PR has been closed because it has been marked as stale for more than 14 days with no activity.'
+          close-pr-message: "This PR has been closed because it has been marked as \"🥶Waiting for contributor\" for more than 14 days with no activity."
           delete-branch: true  # Delete branch after closing a stale PR
           delete-branch: true  # Delete branch after closing a stale PR
           days-before-issue-close: -1  # Never close an issue
           days-before-issue-close: -1  # Never close an issue
-          exempt-issue-labels: '❌ Blocked'  # Issues with label ❌ Blocked are exempted from stale
-          exempt-pr-labels: '❌ Blocked'  # PRs with label ❌ Blocked are exempted from stale
-          exempt-assignees: 'jrobinAV,FabienLelaquais'  # Assignees on issues/PRs exempted from stale
+          exempt-issue-labels: "❌ Blocked"  # Issues with label ❌ Blocked are exempted from stale
+          exempt-pr-labels: "❌ Blocked"  # PRs with label ❌ Blocked are exempted from stale
+          exempt-assignees: "jrobinAV,FabienLelaquais"  # Assignees on issues/PRs exempted from stale
           remove-stale-when-updated: true
           remove-stale-when-updated: true
 
 
   unassign-issues-labeled-waiting-for-contributor-after-14-days-of-inactivity:
   unassign-issues-labeled-waiting-for-contributor-after-14-days-of-inactivity:
-    name: Unassign issues labeled "Waiting for Contributor" after 14 days of inactivity.
+    name: Unassign issues labeled \"🥶Waiting for contributor\" after 14 days of inactivity.
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     steps:
     steps:
       - uses: boundfoxstudios/action-unassign-contributor-after-days-of-inactivity@v1
       - uses: boundfoxstudios/action-unassign-contributor-after-days-of-inactivity@v1
         with:
         with:
           last-activity: 14
           last-activity: 14
-          labels: 'Waiting for Contributor'
-          exempt-assignees: 'jrobinAV,FabienLelaquais'  # Exempt specified assignees from being unassigned
-          labels-to-remove: 'Waiting for Contributor'
-          message: 'This issue has been unassigned automatically because it has been marked as stale for more than 14 days with no activity.'
+          labels: "🥶Waiting for contributor"
+          exempt-assignees: "jrobinAV,FabienLelaquais"  # Exempt specified assignees from being unassigned
+          labels-to-remove: "🥶Waiting for contributor"
+          message: "This issue has been unassigned automatically because it has been marked as \"🥶Waiting for contributor\" for more than 14 days with no activity."