-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of https://github.com/jfrog/jfrog-cli into fix_nug…
…et_test_again
- Loading branch information
Showing
1 changed file
with
23 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,35 @@ | ||
name: Close inactive issues | ||
name: Monitor Issues | ||
on: | ||
workflow_dispatch: | ||
|
||
inputs: | ||
operations-per-run: | ||
description: 'Number of operations per run' | ||
required: false | ||
default: '30' | ||
schedule: | ||
- cron: "0 */6 * * *" # Runs every 6 hours | ||
jobs: | ||
close-issues: | ||
monitor-issues: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/stale@v9 | ||
with: | ||
days-before-issue-stale: 90 | ||
# Ignore issues with these labels | ||
exempt-issue-labels: 'feature request,question' | ||
# Days of inactivity before marking an issue as stale | ||
days-before-issue-stale: 180 | ||
# Days of inactivity before closing an issue | ||
days-before-issue-close: 7 | ||
# Name of the stale label | ||
stale-issue-label: "stale" | ||
stale-issue-message: "This issue has been marked as stale due to 90 days of inactivity. If you wish to keep it open, please remove the stale label or leave a comment; otherwise, it will be closed in 7 days." | ||
stale-issue-message: "This issue has been marked as stale due to 6 months of inactivity. As part of our effort to address every issue properly, please feel free to remove the stale label or keep this issue active by leaving a comment. Otherwise, it will be closed in 7 days" | ||
close-issue-message: "This issue was closed due to 7 days of inactivity after being marked as stale. Feel free to reopen it if it remains relevant." | ||
any-of-issue-labels: 'bug' | ||
debug-only: 'true' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
# Ignore pull requests | ||
days-before-pr-close: false | ||
days-before-pr-stale: false | ||
ascending: true | ||
# Get from input or resolve to default | ||
operations-per-run: ${{ github.event.inputs.operations-per-run || '30' }} | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |