-
-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Marks PR's and issues as "Stale" and add PR auto labeler (#3738)
* Marks PR's and issues as "Stale" * set "stale" time period to 90 days. * Add labeler.yml * Add labeler workflow. * test workflow. * undo last commit
- Loading branch information
Suneet Tipirneni (Siris)
committed
Mar 6, 2020
1 parent
e68ff00
commit 93c7324
Showing
3 changed files
with
64 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
towny-war: | ||
- src/com/palmergames/bukkit/towny/war/* | ||
|
||
commands: | ||
- src/com/palmergames/bukkit/towny/command/* | ||
|
||
towny-objects: | ||
- src/com/palmergames/bukkit/towny/object/* | ||
|
||
database: | ||
- src/com/palmergames/bukkit/towny/db/* | ||
|
||
towny-chat: | ||
- src/com/palmergames/bukkit/towny/chat/* | ||
|
||
economy: | ||
- src/com/palmergames/bukkit/towny/object/EconomyAccount.java | ||
- src/com/palmergames/bukkit/towny/object/EconomyHandler.java | ||
- src/com/palmergames/bukkit/towny/TownyEconomyHandler.java | ||
|
||
events: | ||
- src/com/palmergames/bukkit/towny/event/* | ||
|
||
github: | ||
- .github/* |
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,18 @@ | ||
# This workflow will triage pull requests and apply a label based on the | ||
# paths that are modified in the pull request. | ||
# | ||
# To use this workflow, you will need to set up a .github/labeler.yml | ||
# file with configuration. For more information, see: | ||
# https://github.com/actions/labeler/blob/master/README.md | ||
|
||
name: Labeler | ||
on: [pull_request] | ||
|
||
jobs: | ||
label: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/labeler@v2 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |
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,21 @@ | ||
name: Mark stale issues and pull requests | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
stale: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/stale@v1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: "This Issue hasn't had any activity in a while." | ||
stale-pr-message: "This Pull Request hasn't had any activity in a while." | ||
stale-issue-label: 'no-issue-activity' | ||
stale-pr-label: 'no-pr-activity' | ||
days-before-stale: 90 | ||
|