From 724f9ba8d2382eaf7ca72762ba3030cd3120db9d Mon Sep 17 00:00:00 2001 From: Jactus Date: Sun, 9 May 2021 17:52:18 +0800 Subject: [PATCH 1/3] Update stale bot --- .github/{ => workflows}/stale.yml | 0 docs/component/recorder.rst | 1 + 2 files changed, 1 insertion(+) rename .github/{ => workflows}/stale.yml (100%) diff --git a/.github/stale.yml b/.github/workflows/stale.yml similarity index 100% rename from .github/stale.yml rename to .github/workflows/stale.yml diff --git a/docs/component/recorder.rst b/docs/component/recorder.rst index 3882161bcf..cc425fa8e6 100644 --- a/docs/component/recorder.rst +++ b/docs/component/recorder.rst @@ -34,6 +34,7 @@ Here is a general view of the structure of the system: - Recorder 2 - ... - ... + This experiment management system defines a set of interface and provided a concrete implementation ``MLflowExpManager``, which is based on the machine learning platform: ``MLFlow`` (`link `_). If users set the implementation of ``ExpManager`` to be ``MLflowExpManager``, they can use the command `mlflow ui` to visualize and check the experiment results. For more information, pleaes refer to the related documents `here `_. From 143c257fa2ad9459dc4a04024926d5b71c2af9df Mon Sep 17 00:00:00 2001 From: Jactus Date: Sun, 9 May 2021 17:56:37 +0800 Subject: [PATCH 2/3] Update stale bot --- .github/workflows/stale.yml | 86 +++++++++++-------------------------- 1 file changed, 24 insertions(+), 62 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 3d025c987e..02968dd090 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,62 +1,24 @@ -# 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 - -# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled) -onlyLabels: [] - -# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable -exemptLabels: - - bug - - pinned - - security - - "[Status] Maybe Later" - -# Set to true to ignore issues in a project (defaults to false) -exemptProjects: false - -# Set to true to ignore issues in a milestone (defaults to false) -exemptMilestones: false - -# Set to true to ignore issues with an assignee (defaults to false) -exemptAssignees: false - -# Label to use when marking as stale -staleLabel: wontfix - -# Comment to post when marking as stale. Set to `false` to disable -markComment: > - This issue 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. - -# 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: issues - -# 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 \ No newline at end of file +name: Mark stale issues and pull requests + +on: + schedule: + - cron: "0 0/3 * * *" + +jobs: + stale: + + runs-on: ubuntu-latest + + steps: + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue is stale because it has been open for three months with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days' + stale-pr-message: 'This PR is stale because it has been open for a year with no activity. Remove the stale label or comment on the PR otherwise this will be closed in 5 days' + stale-issue-label: 'stale' + stale-pr-label: 'stale' + days-before-stale: 90 + days-before-close: 5 + operations-per-run: 100 + exempt-issue-labels: 'bug' + remove-stale-when-updated: true \ No newline at end of file From 8ba5e93d040e31bd17eeb6ae8e2d409922bd0999 Mon Sep 17 00:00:00 2001 From: Jactus Date: Mon, 10 May 2021 12:33:58 +0800 Subject: [PATCH 3/3] Skip enhancement in stale bot --- .github/workflows/stale.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 02968dd090..b07bdf1e7d 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -20,5 +20,5 @@ jobs: days-before-stale: 90 days-before-close: 5 operations-per-run: 100 - exempt-issue-labels: 'bug' + exempt-issue-labels: 'bug,enhancement' remove-stale-when-updated: true \ No newline at end of file