mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-27 07:27:15 +01:00
Added "Label Issues" action
- Added label_issues.yml to label issues with the correct MC version - Refactored manage_issues.yml to close_issues.yml
This commit is contained in:
parent
a83618ef24
commit
de77ac9f49
3 changed files with 26 additions and 2 deletions
10
.github/config/labels.yml
vendored
Normal file
10
.github/config/labels.yml
vendored
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
1.14:
|
||||||
|
- "1.14"
|
||||||
|
1.15:
|
||||||
|
- "1.15"
|
||||||
|
1.16:
|
||||||
|
- "1.16"
|
||||||
|
1.17:
|
||||||
|
- "1.17"
|
||||||
|
1.18:
|
||||||
|
- "1.18"
|
|
@ -1,10 +1,11 @@
|
||||||
name: "Manage Issues"
|
name: "Close Issues"
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 */12 * * *'
|
- cron: '0 */12 * * *'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
close:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
issues: write
|
issues: write
|
13
.github/workflows/label_issues.yml
vendored
Normal file
13
.github/workflows/label_issues.yml
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
name: "Label Issues"
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types: [opened, edited]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
label:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: github/issue-labeler@v2.0
|
||||||
|
with:
|
||||||
|
configuration-path: .github/config/labels.yml
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in a new issue