From 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 20:24:20 +0200 Subject: Adding upstream version 14.2.21. Signed-off-by: Daniel Baumann --- .github/labeler.yml | 10 ++++++ .github/milestone.yml | 6 ++++ .github/pull_request_template.md | 52 +++++++++++++++++++++++++++++++ .github/stale.yml | 66 ++++++++++++++++++++++++++++++++++++++++ .github/workflows/pr-triage.yml | 15 +++++++++ 5 files changed, 149 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/milestone.yml create mode 100644 .github/pull_request_template.md create mode 100644 .github/stale.yml create mode 100644 .github/workflows/pr-triage.yml (limited to '.github') diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000..d4f91584 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,10 @@ +dashboard: + - /src/pybind/mgr/dashboard/** + - /qa/suites/rados/dashboard/** + - /qa/tasks/mgr/test_dashboard.py + - /qa/tasks/mgr/dashboard/** + - /monitoring/** + - /doc/mgr/dashboard.rst + +CI: + - /.github/** diff --git a/.github/milestone.yml b/.github/milestone.yml new file mode 100644 index 00000000..d4206950 --- /dev/null +++ b/.github/milestone.yml @@ -0,0 +1,6 @@ +base-branch: + - "(luminous)" + - "(nautilus)" + - "(octopus)" + - "(pacific)" + - "(quincy)" diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..69a755f0 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,52 @@ + + +## Checklist +- [ ] References tracker ticket +- [ ] Updates documentation if necessary +- [ ] Includes tests for new functionality or reproducer for bug + +--- + +
+Show available Jenkins commands + +- `jenkins retest this please` +- `jenkins test make check` +- `jenkins test make check arm64` +- `jenkins test submodules` +- `jenkins test dashboard` +- `jenkins test dashboard backend` +- `jenkins test docs` +- `jenkins render docs` + +
diff --git a/.github/stale.yml b/.github/stale.yml new file mode 100644 index 00000000..6e1cdeb7 --- /dev/null +++ b/.github/stale.yml @@ -0,0 +1,66 @@ +# Configuration for probot-stale - https://github.com/probot/stale + +# Number of days of inactivity before an Issue or Pull Request becomes stale +daysUntilStale: 60 + +# Number of days of inactivity before an Issue or Pull Request with the stale label is closed. +# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. +#daysUntilClose: 7 + +# for now, don't close anything by setting this limit very high: +daysUntilClose: 700 + +# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable +exemptLabels: + - pinned + - security + - "[Status] Maybe Later" + +# Set to true to ignore issues in a project (defaults to false) +exemptProjects: true + +# Set to true to ignore issues in a milestone (defaults to false) +exemptMilestones: true + +# Label to use when marking as stale +staleLabel: stale + +# Comment to post when marking as stale. Set to `false` to disable +markComment: > + This pull request has been automatically marked as stale because it + has not had recent activity. It will be closed if no further + activity occurs. + + If you are a maintainer or core committer, please follow-up on this + issue to identify what steps should be taken by the author to move this + proposed change forward. + + If you are the author of this pull request, thank you for your proposed + contribution. If you believe this change is still appropriate, please + ensure that any feedback has been addressed and ask for a code review. + +# Comment to post when removing the stale label. +# unmarkComment: > +# Your comment here. + +# Comment to post when closing a stale Issue or Pull Request. +# closeComment: > +# Your comment here. + +# Limit the number of actions per hour, from 1-30. Default is 30 +limitPerRun: 30 + +# Limit to only `issues` or `pulls` +only: pulls + +# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls': +# pulls: +# daysUntilStale: 30 +# markComment: > +# This pull request has been automatically marked as stale because it has not had +# recent activity. It will be closed if no further activity occurs. Thank you +# for your contributions. + +# issues: +# exemptLabels: +# - confirmed diff --git a/.github/workflows/pr-triage.yml b/.github/workflows/pr-triage.yml new file mode 100644 index 00000000..31791d4a --- /dev/null +++ b/.github/workflows/pr-triage.yml @@ -0,0 +1,15 @@ +--- +name: "Pull Request Triage" +on: pull_request_target +jobs: + pr-triage: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@9794b1493b6f1fa7b006c5f8635a19c76c98be95 + with: + sync-labels: '' + repo-token: "${{ secrets.GITHUB_TOKEN }}" + - uses: iyu/actions-milestone@dbf7e5348844c9ddc6b803a5721b85fa70fe3bb9 + with: + configuration-path: .github/milestone.yml + repo-token: "${{ secrets.GITHUB_TOKEN }}" -- cgit v1.2.3