-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added github workflow for closing issues Added action to mark issues as stale after 14 days of inactivity and close them after 14 more days * Create close-inactive-issues.yml * added debug-only property added debug-only property to play with the action before enabling it * removed redundant job removed the "close-issues" job as it is now a part of another yaml file * feat: added new label Added new label by executing `github-labels sync` * fix: fixed the label name Change the label name to "⌛ Status: Waiting for Customer".
- Loading branch information
1 parent
ca21d0b
commit 83a11a4
Showing
2 changed files
with
31 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Close inactive issues | ||
on: | ||
schedule: | ||
- cron: "30 1 * * *" | ||
|
||
jobs: | ||
close-issues: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- uses: actions/stale@v3 | ||
with: | ||
any-of-labels: "⌛ Status: Waiting for Customer" | ||
start-date: "2022-04-06 00:00:00.000" | ||
debug-only: true | ||
days-before-issue-stale: 14 | ||
days-before-issue-close: 14 | ||
stale-issue-label: "stale" | ||
stale-issue-message: "This issue has been marked as 'stale' due to its inactivity for the last 14 days. Please, add a new comment to keep the conversation going; otherwise, the issue will be closed in two weeks." | ||
close-issue-message: "This issue has been closed due to its inactivity for the last month. Please, feel free to reopen it and add a new comment in case you think the problem has not been resolved." | ||
days-before-pr-stale: -1 | ||
days-before-pr-close: -1 | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
83a11a4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
ui-kit – ./
ui-kit-commercetools.vercel.app
ui-kit-five-rho.vercel.app
ui-kit-git-main-commercetools.vercel.app
uikit.commercetools.com