diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 00000000..4ed43ebe --- /dev/null +++ b/.github/labels.yml @@ -0,0 +1,100 @@ +- name: "topic: CI/CD" + color: "54f449" + description: "This issue/PR relates to CI/CD pipeline change" +- name: "topic: code style" + color: "54f449" + description: "This issue/PR relates to code style." + from_name: "code quality" +- name: "topic: tests" + color: "54f449" + description: "This issue/PR relates to tests, QA, CI." +- name: "topic: deprecated" + color: "999999" + description: "Feature or component marked as deprecated and will be removed" +- name: "topic: documentation" + color: "54f449" + description: "This issue/PR relates to or includes documentation." + from_name: "Documentation" +- name: "topic: recognizer" + color: "54f449" + description: "This issue/PR relates to recognizers module." +- name: "topic: storage" + color: "54f449" + description: "This issue/PR relates to storage module." +- name: "topic: stock_uploader" + color: "54f449" + description: "This issue/PR relates to stock uploader module." +- name: "type: breaking-change" + color: "310372" + description: "Marks an important and likely breaking old interface change." +- name: "type: feature" + color: "310372" + description: "New feature implementation" +- name: "type: enhancement" + color: "310372" + description: "Enhancement update for old feature" + from_name: "enhancement" +- name: "type: good first issue" + color: "310372" + description: "Good for newcomers" + from_name: "Good first contrib" +- name: "type: bug" + color: "b71914" + description: "Something isn't working" + from_name: "bug" +- name: "log:added" + color: "ff935e" + description: "Changelog mark label. Marks new added features." +- name: "log:breaking-change" + color: "ff935e" + description: "Changelog mark label. Marks breaking changes." +- name: "log:changed" + color: "ff935e" + description: "Changelog mark label. Marks old, but changed features." +- name: "log:deprecated" + color: "ff935e" + description: "Changelog mark label. Marks deprecated features, that will be removed in next major release." +- name: "log:fixed" + color: "ff935e" + description: "Changelog mark label. Marks fixed bug issues." +- name: "log:removed" + color: "ff935e" + description: "Changelog mark label. Marks removed features." +- name: "log:skip-changelog" + color: "ff935e" + description: "Should be excluded from the changelog." +- name: "os: linux" + color: "fbca04" + description: "This issue/PR related to linux systems" +- name: "os: mac" + color: "fbca04" + description: "This issue/PR related to mac systems" +- name: "os: windows" + color: "fbca04" + description: "This issue/PR related to windows systems" +- name: "question" + color: "d876e3" + description: "User questions, not related to issues" + from_name: "question" +- name: "decision: duplicate" + color: "eeeeee" + description: "This issue or pull request already exists" + from_name: "duplicate" +- name: "decision: wontfix" + color: "eeeeee" + description: "This will not be worked on" + from_name: "wontfix" +- name: "decision: wontmerge" + color: "eeeeee" + description: "PR Only: This pull request will not be merged (problem described in comments)" +- name: "stage: waiting-for-contributor" + color: "efc1ae" + from_name: "awaiting response" + description: "Waiting for answer from original contributor." +- name: "stage: WIP" + color: "efc1ae" + description: "Work In Progress" +- name: "stage: help wanted" + color: "efc1ae" + description: "Extra attention is needed" + from_name: "Help wanted" diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 00000000..7ed22815 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,30 @@ +categories: + - title: 'Breaking Changes' + labels: + - 'log:breaking-change' + - title: 'Added' + labels: + - 'log:added' + - title: 'Changed' + labels: + - 'log:changed' + - title: 'Fixed' + labels: + - 'log:fixed' + - title: 'Deprecated' + labels: + - 'log:deprecated' + - title: 'Removed' + labels: + - 'log:removed' +exclude-labels: + - 'log:skip-changelog' +sort-by: 'title' +template: | + ## Changes + + $CHANGES + + ## This release is made by wonderful contributors: + + $CONTRIBUTORS diff --git a/.github/workflows/labeler-check.yml b/.github/workflows/labeler-check.yml new file mode 100644 index 00000000..5af19133 --- /dev/null +++ b/.github/workflows/labeler-check.yml @@ -0,0 +1,18 @@ +name: Labels verification + +on: + pull_request: + +jobs: + labeler: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Run Labeler + uses: crazy-max/ghaction-github-labeler@v2 + with: + yaml_file: .github/labels.yml + dry_run: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 00000000..5be89c76 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,18 @@ +name: Labels verification + +on: + push: + branches: [master] + +jobs: + labeler: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Run Labeler + uses: crazy-max/ghaction-github-labeler@v2 + with: + yaml_file: .github/labels.yml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 00000000..17fdb961 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,14 @@ +name: Release Drafter + +on: + push: + branches: + - master + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}