From 5b77e816d970c6ef8b5376010e7a3155eb6397e5 Mon Sep 17 00:00:00 2001 From: Nocchia <133043574+NomakCooper@users.noreply.github.com> Date: Tue, 8 Apr 2025 16:23:17 +0000 Subject: [PATCH 1/2] repo - remove labeler, keylabeler and repo-command --- .github/keylabeler.yml | 21 --------------- .github/labeler.yml | 27 -------------------- .github/repo-command.yml | 48 ----------------------------------- .github/workflows/labeler.yml | 13 ---------- 4 files changed, 109 deletions(-) delete mode 100644 .github/keylabeler.yml delete mode 100644 .github/labeler.yml delete mode 100644 .github/repo-command.yml delete mode 100644 .github/workflows/labeler.yml diff --git a/.github/keylabeler.yml b/.github/keylabeler.yml deleted file mode 100644 index a14a260..0000000 --- a/.github/keylabeler.yml +++ /dev/null @@ -1,21 +0,0 @@ -# Determines if we search the title (optional). Defaults to true. -matchTitle: false - -# Determines if we search the body (optional). Defaults to true. -matchBody: true - -# Determines if label matching is case sensitive (optional). Defaults to true. -caseSensitive: true - -# Explicit keyword mappings to labels. Form of match:label. Required. -labelMappings: - "Bug Report": bug - "- Bugfix Pull Request": bug - "Feature Idea": feature - "- Feature Pull Request": feature - "Documentation Report": documentation - "- Docs Pull Request": documentation - "- New Module Pull Request": new_module - "- New Plugin Pull Request": new_plugin - "- Refactoring Pull Request": refactor - "- Test Pull Request": testing \ No newline at end of file diff --git a/.github/labeler.yml b/.github/labeler.yml deleted file mode 100644 index 2129f74..0000000 --- a/.github/labeler.yml +++ /dev/null @@ -1,27 +0,0 @@ -tests: -- changed-files: - - any-glob-to-any-file: 'tests/**' - -docs_fragments: -- changed-files: - - any-glob-to-any-file: 'changelogs/fragments/*' - -plugin: -- changed-files: - - any-glob-to-any-file: 'plugins/**' - -module: -- changed-files: - - any-glob-to-any-file: 'plugins/modules/*' - -module_utils: -- changed-files: - - any-glob-to-any-file: 'plugins/module_utils/*' - -documentation: -- changed-files: - - any-glob-to-any-file: '*.md' - -github_actions: -- changed-files: - - any-glob-to-any-file: '.github/workflows/*' diff --git a/.github/repo-command.yml b/.github/repo-command.yml deleted file mode 100644 index d32625e..0000000 --- a/.github/repo-command.yml +++ /dev/null @@ -1,48 +0,0 @@ -# Minimum length required for issue/PR descriptions -minBodyLength: 20 - -# Enable/disable commands -commands: - wip: true - approve: true - close: false - label: true - merge: false - requestInfo: true - -# Enable/disable automations -automations: - addReadyForReview: true - addApprovedLabel: true - addChangesRequestedLabel: true - addMergedLabel: false - requestMoreInfo: true - addLabelsOnClose: false - welcomeContributor: true - welcomeIssue: true - -# Configure labels -labels: - wip: "WIP" - readyForReview: "needs_review" - approved: "approved" - changesRequested: "needs_changes" - needsMoreInfo: "needs_info" - merged: "merged" - bug: "bug" - feature: "feature" - enhancement: "enhancement" - fixed: "fixed" - implemented: "implemented" - -# Configure messages -messages: - welcomeContributor: | - Thanks for your first pull request, @{user}! 🎉 - The team will review your changes soon. - welcomeIssue: | - Thanks for opening your first issue, @{user}! 🎉 - requestMoreInfo: | - Hey @{user}! Please provide more details in your {type}. - moreInfoAdded: | - Thanks @{user} for adding more information! \ No newline at end of file diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml deleted file mode 100644 index bd44e7b..0000000 --- a/.github/workflows/labeler.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: "Pull Request Labeler" -on: - pull_request_target: - types: [opened, synchronize, reopened] - -jobs: - labeler: - permissions: - contents: read - pull-requests: write - runs-on: ubuntu-latest - steps: - - uses: actions/labeler@v5 From b3b2aae399263a3dc0d503dd6fa4fe7285a3ed30 Mon Sep 17 00:00:00 2001 From: Nocchia <133043574+NomakCooper@users.noreply.github.com> Date: Tue, 8 Apr 2025 16:59:05 +0000 Subject: [PATCH 2/2] repo - restore repo-command --- .github/repo-command.yml | 48 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .github/repo-command.yml diff --git a/.github/repo-command.yml b/.github/repo-command.yml new file mode 100644 index 0000000..62c4682 --- /dev/null +++ b/.github/repo-command.yml @@ -0,0 +1,48 @@ +# Minimum length required for issue/PR descriptions +minBodyLength: 20 + +# Enable/disable commands +commands: + wip: true + approve: true + close: false + label: true + merge: false + requestInfo: true + +# Enable/disable automations +automations: + addReadyForReview: true + addApprovedLabel: true + addChangesRequestedLabel: true + addMergedLabel: false + requestMoreInfo: true + addLabelsOnClose: false + welcomeContributor: true + welcomeIssue: true + +# Configure labels +labels: + wip: "WIP" + readyForReview: "needs_review" + approved: "approved" + changesRequested: "needs_changes" + needsMoreInfo: "needs_info" + merged: "merged" + bug: "bug" + feature: "feature" + enhancement: "enhancement" + fixed: "fixed" + implemented: "implemented" + +# Configure messages +messages: + welcomeContributor: | + Thanks for your first pull request, @{user}! 🎉 + A maintainer will review your changes soon. + welcomeIssue: | + Thanks for opening your first issue, @{user}! 🎉 + requestMoreInfo: | + Hey @{user}! Please provide more details in your {type}. + moreInfoAdded: | + Thanks @{user} for adding more information! \ No newline at end of file