You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by he...@apache.org on 2022/05/11 04:50:20 UTC

[incubator-inlong] branch master updated: [INLONG-4161][CI] Fix incorrect name in stale workflow (#4162)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new e2baa0443 [INLONG-4161][CI] Fix incorrect name in stale workflow (#4162)
e2baa0443 is described below

commit e2baa04436e658106693d0e5543a0ccaa348dd1d
Author: Yuanhao Ji <ji...@apache.org>
AuthorDate: Wed May 11 12:50:15 2022 +0800

    [INLONG-4161][CI] Fix incorrect name in stale workflow (#4162)
---
 .github/workflows/{ci_stable.yml => ci_stale.yml} | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/ci_stable.yml b/.github/workflows/ci_stale.yml
similarity index 91%
rename from .github/workflows/ci_stable.yml
rename to .github/workflows/ci_stale.yml
index 012138997..4161492e5 100644
--- a/.github/workflows/ci_stable.yml
+++ b/.github/workflows/ci_stale.yml
@@ -21,14 +21,13 @@ on:
   schedule:
     - cron: '30 1 * * *'
 
-permissions:
-  issues: write
-  pull-requests: write
-
 jobs:
   stale:
-    name: Stable
+    name: Stale
     runs-on: ubuntu-latest
+    permissions:
+      issues: write
+      pull-requests: write
     steps:
       - name: Mark issues and PRs
         uses: actions/stale@v5
@@ -45,5 +44,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: 'stable'       # label to apply on staled issues
-          stale-pr-label: 'stable'          # label to apply on staled PRs
+          stale-issue-label: 'stale'        # label to apply on staled issues
+          stale-pr-label: 'stale'           # label to apply on staled PRs