dsghasdha

This commit is contained in:
Kreyren 2020-02-05 12:15:02 +00:00
parent 40aa8f3370
commit 6b8bf6b858
4 changed files with 138 additions and 0 deletions

34
.github/label-pr.yml vendored Normal file

@ -0,0 +1,34 @@
# Programming language specific
- regExp: ".*\\.rs+$"
labels: ["rustlang"]
- regExp: ".*\\.py+$"
labels: ["python"]
- regExp: ".*\\.c+$"
labels: ["c-lang"]
- regExp: ".*\\.cpp+$"
labels: ["CPP"]
- regExp: ".*\\.sh+$"
labels: ["shell"]
- regExp: ".*\\.bash+$"
labels: ["bash"]
- regExp: ".*\\.br+$"
labels: ["brainfuck"]
# Repo specific
- regExp: ".*\\LICENSE*+$"
labels: ["license"]
- regExp: "^(pom\\.xml|package\\.json|build\\.gradle)$"
- regExp: "^(.*\\Cargo.toml)$"
labels: ["dependencies"]
- regExp: ".*\\.(zip|jar|war|ear)+$"
labels: ["artifact", "invalid"]

79
.github/labels.yml vendored Normal file

@ -0,0 +1,79 @@
# This file handles labels on GitHub
- name: bug
color: d73a4a
description: "Something isn't working"
- name: docs
color: 0075ca
description: "Improvements or additions to documentation"
- name: duplicate
color: cfd8d7
description: "This issue or pull request already exists"
- name: enhancement
color: a22eef
description: "Proposal for code improvement"
- name: license
color: 1a7546
description: "Relevant to licensing"
- name: dependencies
color: ca0ef0
description: "Relevant to dependencies"
# Priority handling
- name: P - SHTF
color: ae00ff
description: "Stop whatever you are doing and focus on this"
- name: P - Very High
color: ff2f00
description: "FIXME"
- name: P - High
color: 910f00
description: "FIXME"
- name: P - Med
color: ffd000
description: "FIXME"
- name: P - Low
color: b3ff00
description: "FIXME"
- name: P - Very Low
color: 73ff00
description: "FIXME"
# Programming language specific
- name: python
color: 00aeff
description: "Relevant to python"
- name: rustlang
color: f58142
description: "Relevant to rustlang"
- name: c-lang
color: 427bf5
description: "Relevant to c-lang"
- name: brainfuck
color: f542c5
description: "Relevant to brainfuck"
- name: shell
color: 74e63c
description: "Relevant to shell"
- name: bash
color: 9dff00
description: "Relevant to bash"
- name: CCP
color: 009dff
description: "Relevant to CCP"

24
.github/workflows/label-maker.yml vendored Normal file

@ -0,0 +1,24 @@
name: label-maker
on:
schedule:
- cron: "*/30 * * * *"
jobs:
labeler:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v1
-
name: Run Labeler
if: success()
uses: crazy-max/ghaction-github-labeler@v1
with:
yaml_file: .github/labels.yml
exclude: "['help*', '*issue']"
skip_delete: false
dry_run: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

@ -6,6 +6,7 @@
# https://github.com/actions/labeler/blob/master/README.md
name: Labeler
on: [pull_request]
jobs: