From ef6de9ea5924c5f7d629a622aa9dd7b8160a168f Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Thu, 21 Nov 2024 09:57:39 +0100 Subject: [PATCH] Enable triaging by the bot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enabled it for Amazon Services as requested by Sébastien. --- .github/quarkus-github-bot.yml | 11 +++++++++- .github/workflows/quarkus-github-bot-lint.yml | 22 +++++++++++++++++++ .github/yamllint.conf | 5 +++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/quarkus-github-bot-lint.yml create mode 100644 .github/yamllint.conf diff --git a/.github/quarkus-github-bot.yml b/.github/quarkus-github-bot.yml index b23b4dc8a2..cb1f001c6c 100644 --- a/.github/quarkus-github-bot.yml +++ b/.github/quarkus-github-bot.yml @@ -1,6 +1,15 @@ --- # The format of this file is documented here: # https://github.com/quarkusio/quarkus-bot#triage-issues -features: [ANALYZE_WORKFLOW_RUN_RESULTS] +features: [ANALYZE_WORKFLOW_RUN_RESULTS,TRIAGE_ISSUES_AND_PULL_REQUESTS,SET_AREA_LABEL_COLOR] workflowRunAnalysis: workflows: ["Pull Request Build - development"] +triage: + rules: + - id: amazon + labels: [area/amazon-services] + title: "amazon" + notify: [scrocquesel] + notifyInPullRequest: true + files: + - 'amazon-*/**' diff --git a/.github/workflows/quarkus-github-bot-lint.yml b/.github/workflows/quarkus-github-bot-lint.yml new file mode 100644 index 0000000000..7a01f94ebc --- /dev/null +++ b/.github/workflows/quarkus-github-bot-lint.yml @@ -0,0 +1,22 @@ +name: quarkus-github-bot.yml lint + +on: + push: + paths: + - '.github/quarkus-github-bot.yml' + pull_request: + paths: + - '.github/quarkus-github-bot.yml' + +jobs: + lint: + name: "quarkus-github-bot.yml validation" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: install yamllint + shell: bash + run: sudo apt-get install -y yamllint + - name: run yamllint for quarkus-github-bot.yml + shell: bash + run: yamllint -c .github/yamllint.conf .github/quarkus-github-bot.yml diff --git a/.github/yamllint.conf b/.github/yamllint.conf new file mode 100644 index 0000000000..1b6be046eb --- /dev/null +++ b/.github/yamllint.conf @@ -0,0 +1,5 @@ +extends: default + +rules: + line-length: disable + commas: disable