mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-27 03:41:05 +01:00
chore: Migrate from the stalebot app to GitHub Action (#1665)
This commit is contained in:
committed by
GitHub
parent
967403be73
commit
f16cd37060
35
.github/stale.yml
vendored
35
.github/stale.yml
vendored
@@ -1,35 +0,0 @@
|
|||||||
---
|
|
||||||
# Number of days of inactivity before an issue becomes stale
|
|
||||||
daysUntilStale: 30
|
|
||||||
|
|
||||||
# Number of days of inactivity before an stale issue is closed
|
|
||||||
daysUntilClose: 7
|
|
||||||
|
|
||||||
# Label to use when marking an issue as stale
|
|
||||||
staleLabel: stale
|
|
||||||
|
|
||||||
issues:
|
|
||||||
# Comment to post when marking an issue as stale.
|
|
||||||
markComment: >
|
|
||||||
This issue has been automatically marked as stale because it has not had
|
|
||||||
recent activity. It will be closed if no further activity occurs. Thank you
|
|
||||||
for your contributions.
|
|
||||||
# Comment to post when closing a stale issue.
|
|
||||||
closeComment: >
|
|
||||||
This issue has been automatically closed because it has not had recent
|
|
||||||
activity since being marked as stale.
|
|
||||||
pulls:
|
|
||||||
# Comment to post when marking a PR as stale.
|
|
||||||
markComment: >
|
|
||||||
This PR has been automatically marked as stale because it has not had
|
|
||||||
recent activity. It will be closed if no further activity occurs. Thank you
|
|
||||||
for your contributions.
|
|
||||||
|
|
||||||
To track this PR (even if closed), please open a corresponding issue if one
|
|
||||||
does not already exist.
|
|
||||||
# Comment to post when closing a stale PR.
|
|
||||||
closeComment: >
|
|
||||||
This PR has been automatically closed because it has not had recent
|
|
||||||
activity since being marked as stale.
|
|
||||||
|
|
||||||
Please reopen when work resumes.
|
|
||||||
32
.github/workflows/stale-actions.yaml
vendored
Normal file
32
.github/workflows/stale-actions.yaml
vendored
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
name: "Mark or close stale issues and PRs"
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
stale:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/stale@v4
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
# Staling issues and PR's
|
||||||
|
days-before-stale: 30
|
||||||
|
stale-issue-label: stale
|
||||||
|
stale-pr-label: stale
|
||||||
|
stale-issue-message: |
|
||||||
|
This issue has been automatically marked as stale because it has been open 30 days
|
||||||
|
with no activity. Remove stale label or comment or this issue will be closed in 10 days
|
||||||
|
stale-pr-message: |
|
||||||
|
This PR has been automatically marked as stale because it has been open 30 days
|
||||||
|
with no activity. Remove stale label or comment or this PR will be closed in 10 days
|
||||||
|
# Not stale if have this labels or part of milestone
|
||||||
|
exempt-issue-labels: bug,wip,on-hold
|
||||||
|
exempt-pr-labels: bug,wip,on-hold
|
||||||
|
exempt-all-milestones: true
|
||||||
|
# Close issue operations
|
||||||
|
# Label will be automatically removed if the issues are no longer closed nor locked.
|
||||||
|
days-before-close: 10
|
||||||
|
delete-branch: true
|
||||||
|
close-issue-message: This issue was automatically closed because of stale in 10 days
|
||||||
|
close-pr-message: This PR was automatically closed because of stale in 10 days
|
||||||
Reference in New Issue
Block a user