This is an automated email from the ASF dual-hosted git repository.

dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new 59d08a26b [INLONG-4991][CI] Update the lables for CI/CD workflows 
(#4992)
59d08a26b is described below

commit 59d08a26b520fd11ee7169e0afa7db612d3d8c71
Author: Charles Zhang <[email protected]>
AuthorDate: Mon Jul 11 20:04:57 2022 +0800

    [INLONG-4991][CI] Update the lables for CI/CD workflows (#4992)
---
 .github/ISSUE_TEMPLATE/bug-report.yml              |  2 +-
 .github/ISSUE_TEMPLATE/feature-request.yml         |  2 +-
 .github/ISSUE_TEMPLATE/improve-request.yml         |  2 +-
 .../ISSUE_TEMPLATE/{config.yml => question.yml}    |  0
 .github/ISSUE_TEMPLATE/umbrella.yml                |  2 +-
 .github/labeler.yml                                | 34 ++++++++++------------
 .github/workflows/ci_stale.yml                     |  8 ++---
 7 files changed, 23 insertions(+), 27 deletions(-)

diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml 
b/.github/ISSUE_TEMPLATE/bug-report.yml
index a7c8c4641..5fb2fca99 100644
--- a/.github/ISSUE_TEMPLATE/bug-report.yml
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -18,7 +18,7 @@
 name: '🐛 Bug Report'
 title: '[Bug]'
 description: Problems and issues with code of Apache InLong
-labels: [ 'bug' ]
+labels: [ 'type/bug' ]
 body:
   - type: markdown
     attributes:
diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml 
b/.github/ISSUE_TEMPLATE/feature-request.yml
index aabd874ad..f89b5752c 100644
--- a/.github/ISSUE_TEMPLATE/feature-request.yml
+++ b/.github/ISSUE_TEMPLATE/feature-request.yml
@@ -18,7 +18,7 @@
 name: '🎉 Feature Request'
 title: "[Feature]"
 description: Suggest an idea for Apache InLong
-labels: [ "feature" ]
+labels: [ "type/feature" ]
 body:
   - type: markdown
     attributes:
diff --git a/.github/ISSUE_TEMPLATE/improve-request.yml 
b/.github/ISSUE_TEMPLATE/improve-request.yml
index 9744405b8..3c27a0991 100644
--- a/.github/ISSUE_TEMPLATE/improve-request.yml
+++ b/.github/ISSUE_TEMPLATE/improve-request.yml
@@ -18,7 +18,7 @@
 name: '👍 Improve Request'
 title: "[Improve]"
 description: Suggest an idea for Apache InLong
-labels: [ "improve" ]
+labels: [ "type/improve" ]
 body:
   - type: markdown
     attributes:
diff --git a/.github/ISSUE_TEMPLATE/config.yml 
b/.github/ISSUE_TEMPLATE/question.yml
similarity index 100%
rename from .github/ISSUE_TEMPLATE/config.yml
rename to .github/ISSUE_TEMPLATE/question.yml
diff --git a/.github/ISSUE_TEMPLATE/umbrella.yml 
b/.github/ISSUE_TEMPLATE/umbrella.yml
index 0d5c915ad..9a3cee907 100644
--- a/.github/ISSUE_TEMPLATE/umbrella.yml
+++ b/.github/ISSUE_TEMPLATE/umbrella.yml
@@ -18,7 +18,7 @@
 name: '☂ Umbrella'
 title: "[Umbrella] "
 description: An umbrella issue with multiple subtasks
-labels: [ "umbrella" ]
+labels: [ "type/umbrella" ]
 body:
   - type: textarea
     attributes:
diff --git a/.github/labeler.yml b/.github/labeler.yml
index 4a7342a8c..e9525d0e2 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -15,38 +15,39 @@
 # limitations under the License.
 #
 
-inlong-agent:
+component/agent:
   - 'inlong-agent/**/*'
 
-inlong-dataproxy:
+component/dataproxy:
   - 'inlong-dataproxy/**/*'
 
-inlong-manager:
+component/manager:
   - 'inlong-manager/**/*'
 
-inlong-sort:
+component/sort:
   - 'inlong-sort/**/*'
-
-inlong-sort-standalone:
   - 'inlong-sort-standalone/**/*'
 
-inlong-tubemq:
+component/tubemq:
   - 'inlong-tubemq/**/*'
 
-inlong-dashboard:
+component/dashboard:
   - 'inlong-dashboard/**/*'
 
-inlong-audit:
+component/audit:
   - 'inlong-audit/**/*'
 
-inlong-sdk:
+component/sdk:
   - 'inlong-sdk/**/*'
 
-ci:
+service/ci:
   - '.github/actions/**/*'
   - '.github/workflows/**/*'
+  - '.github/labeler.yml'
+  - '.github/PULL_REQUEST_TEMPLATE.md'
+  - '.github/ISSUE_TEMPLATE/**/*'
 
-docker:
+service/docker:
   - '**/Dockerfile'
   - '**/*-docker.sh'
   - 'inlong-agent/agent-docker/**/*'
@@ -58,13 +59,8 @@ docker:
   - 'docker/build-docker-images.sh'
   - 'docker/publish-by-arch.sh'
 
-k8s:
+service/k8s:
   - '.github/ct.yml'
   - '.github/kind.yml'
   - 'docker/kubernetes/**/*'
-  - 'inlong-tubemq/tubemq-docker/tubemq-k8s/**/*'
-
-github:
-  - '.github/labeler.yml'
-  - '.github/PULL_REQUEST_TEMPLATE.md'
-  - '.github/ISSUE_TEMPLATE/**/*'
+  - 'inlong-tubemq/tubemq-docker/tubemq-k8s/**/*'
\ No newline at end of file
diff --git a/.github/workflows/ci_stale.yml b/.github/workflows/ci_stale.yml
index 0f6f75335..d98890d6b 100644
--- a/.github/workflows/ci_stale.yml
+++ b/.github/workflows/ci_stale.yml
@@ -33,8 +33,8 @@ jobs:
         uses: actions/stale@v5
         with:
           repo-token: ${{ secrets.GITHUB_TOKEN }}
-          stale-issue-message: 'This issue is stale because it has been open 
60 days with no activity.'
-          stale-pr-message: 'This PR is stale because it has been open 60 days 
with no activity.'
+          stale-issue-message: 'This issue is stale because it has been open 
for 60 days with no activity.'
+          stale-pr-message: 'This PR is stale because it has been open for 60 
days with no activity.'
           days-before-issue-stale: 60       # the idle number of days before 
marking the issues as stale
           days-before-pr-stale: 60          # the idle number of days before 
marking the pull requests as stale
           days-before-issue-close: -1       # the issues will never be closed 
automatically
@@ -42,5 +42,5 @@ jobs:
           operations-per-run: 500           # max number of operations per run
           exempt-issue-labels: 'WIP'        # labels on issues exempted from 
stale
           exempt-pr-labels: 'WIP'           # labels on PRs exempted from stale
-          stale-issue-label: 'stale'        # label to apply on staled issues
-          stale-pr-label: 'stale'           # label to apply on staled PRs
+          stale-issue-label: 'stage/stale'        # label to apply on staled 
issues
+          stale-pr-label: 'stage/stale'           # label to apply on staled 
PRs

Reply via email to