Skip to content

Commit

Permalink
modify action
Browse files Browse the repository at this point in the history
Signed-off-by: Allan Guwatudde <allan@Allans-MacBook-Pro.local>

Signed-off-by: Allan Guwatudde <allan@Allans-MBP.domain.name>
  • Loading branch information
Allan Guwatudde authored and Allan Guwatudde committed Aug 9, 2023
1 parent 837982c commit 5cdc695
Showing 1 changed file with 70 additions and 9 deletions.
79 changes: 70 additions & 9 deletions .github/workflows/stale-bot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,74 @@ jobs:
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity.'
close-issue-message: 'This issue was closed because it has been stale for 5 days with no activity.'
days-before-issue-stale: 30
days-before-issue-close: 5
stale-issue-label: 'stale/no-issue-activity'
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity.'
days-before-pr-stale: 1
days-before-pr-close: -1
stale-pr-label: 'stale/no-pr-activity'
stale-issue-message: |
The Porter project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules;
After 90d of inactivity, lifecycle/stale is applied
After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
After 30d of inactivity since lifecycle/rotten was applied, the issue is closed
You can;
Mark this issue as fresh with /remove-lifecycle stale
Close this issue with /close
/lifecycle stale
days-before-issue-stale: 90
exempt-issue-labels: 'lifecycle/rotten, lifecycle/closed'
days-before-issue-close: -1
stale-issue-label: 'lifecycle/stale'
remove-issue-stale-when-updated: true
debug-only: true

steps:
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: |
The Porter project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules;
After 90d of inactivity, lifecycle/stale is applied
After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
After 30d of inactivity since lifecycle/rotten was applied, the issue is closed
You can;
Mark this issue as fresh with /remove-lifecycle stale
Close this issue with /close
/lifecycle rotten
days-before-issue-stale: 30
only-issue-labels: 'lifecycle/stale'
days-before-issue-close: -1
stale-issue-label: 'lifecycle/rotten'
labels-to-remove-when-stale: 'lifecycle/stale'
remove-issue-stale-when-updated: true

steps:
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: |
The Porter project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules;
After 90d of inactivity, lifecycle/stale is applied
After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
After 30d of inactivity since lifecycle/rotten was applied, the issue is closed
You can;
Mark this issue as fresh with /remove-lifecycle stale
Close this issue with /close
/lifecycle closed
days-before-issue-stale: 30
only-issue-labels: 'lifecycle/rotten'
days-before-issue-close: 0
stale-issue-label: 'lifecycle/closed'
labels-to-remove-when-stale: 'lifecycle/rotten'


0 comments on commit 5cdc695

Please sign in to comment.