Description
A brief description of the question or issue, also include what you tried and what didn't work:
Stack
Project stack or language (eg. Frontend):
Working Environment
Operating System (eg Linux):
Browser (eg. Chrome):
Device (eg. Laptop or Phone):
Screenshots
Please add a screenshot if applicable
[Optional] Additional Context
Add any other context about the problem here.
You can also join the discord community here
Feel free to check out other cool repositories of Eddie Jaoude Community here
If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our Discord chat and our GitHub Organisation - we help and encourage each other to contribute to open source little and often 🤓 . Any questions let us know.
Warns and then closes issues and PRs that have had no activity for a specified amount of time.
Install the dependencies
$ npm install
Build the typescript and package it for distribution
$ npm run build && npm run pack
Run the tests :heavy_check_mark:
$ npm test
See action.yml For comprehensive list of options.
Basic:
name: "Close stale issues"
on:
schedule:
- cron: "0 0 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Message to comment on stale issues. If none provided, will not mark issues stale'
stale-pr-message: 'Message to comment on stale PRs. If none provided, will not mark PRs stale'
Configure stale timeouts:
name: "Close stale issues"
on:
schedule:
- cron: "0 0 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days'
days-before-stale: 30
days-before-close: 5
Configure labels:
name: "Close stale issues"
on:
schedule:
- cron: "0 0 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Stale issue message'
stale-pr-message: 'Stale pull request message'
stale-issue-label: 'no-issue-activity'
exempt-issue-labels: 'awaiting-approval,work-in-progress'
stale-pr-label: 'no-pr-activity'
exempt-pr-labels: 'awaiting-approval,work-in-progress'
only-labels: 'awaiting-feedback,awaiting-answers'
To see debug output from this action, you must set the secret ACTIONS_STEP_DEBUG to true in your repository. You can run this action in debug only mode (no actions will be taken on your issues) by passing debug-only true as an argument to the action.
Close Stale Issues and PRs
Warns and then closes issues and PRs that have had no activity for a specified amount of time.
Building and testing
Install the dependencies
$ npm installBuild the typescript and package it for distribution
$ npm run build && npm run packRun the tests ✔️
$ npm testUsage
See action.yml For comprehensive list of options.
Basic:
name: "Close stale issues" on: schedule: - cron: "0 0 * * *" jobs: stale: runs-on: ubuntu-latest steps: - uses: actions/stale@v3 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'Message to comment on stale issues. If none provided, will not mark issues stale' stale-pr-message: 'Message to comment on stale PRs. If none provided, will not mark PRs stale'Configure stale timeouts:
name: "Close stale issues" on: schedule: - cron: "0 0 * * *" jobs: stale: runs-on: ubuntu-latest steps: - uses: actions/stale@v3 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days' days-before-stale: 30 days-before-close: 5Configure labels:
name: "Close stale issues" on: schedule: - cron: "0 0 * * *" jobs: stale: runs-on: ubuntu-latest steps: - uses: actions/stale@v3 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'Stale issue message' stale-pr-message: 'Stale pull request message' stale-issue-label: 'no-issue-activity' exempt-issue-labels: 'awaiting-approval,work-in-progress' stale-pr-label: 'no-pr-activity' exempt-pr-labels: 'awaiting-approval,work-in-progress' only-labels: 'awaiting-feedback,awaiting-answers'Debugging
To see debug output from this action, you must set the secret
ACTIONS_STEP_DEBUGtotruein your repository. You can run this action in debug only mode (no actions will be taken on your issues) by passingdebug-onlytrueas an argument to the action.
Thanks a lot for reverting back to me! ✌
No problem. Let's close this Issue and if you have any more questions please raise a Discussion https://github.com/EddieJaoudeCommunity/support/discussions
Most helpful comment
Close Stale Issues and PRs
Warns and then closes issues and PRs that have had no activity for a specified amount of time.
Building and testing
Install the dependencies
Build the typescript and package it for distribution
Run the tests :heavy_check_mark:
Usage
See action.yml For comprehensive list of options.
Basic:
Configure stale timeouts:
Configure labels:
Debugging
To see debug output from this action, you must set the secret
ACTIONS_STEP_DEBUGtotruein your repository. You can run this action in debug only mode (no actions will be taken on your issues) by passingdebug-onlytrueas an argument to the action.