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

shuke987 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-shade.git


The following commit(s) were added to refs/heads/master by this push:
     new a2bf56c  [chore] Harden branch protection and Actions permissions (#67)
a2bf56c is described below

commit a2bf56cca71520e3db66c502967e8d257f372eb7
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Thu Nov 26 16:35:39 2026 +0800

    [chore] Harden branch protection and Actions permissions (#67)
    
    * [chore] Harden branch protection and Actions permissions
    * [chore] Drop required review conversation resolution
---
 .asf.yaml                                          | 19 ++++++++++++--
 .github/{workflows/license.yaml => dependabot.yml} | 30 +++++-----------------
 .github/workflows/license.yaml                     | 11 +++++---
 3 files changed, 31 insertions(+), 29 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 830474e..70527e4 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -24,10 +24,25 @@ github:
     squash: true
     merge: false
     rebase: false
+  dependabot_alerts: true
+  dependabot_updates: true
   protected_branches:
     master:
-      required_status_checks:
-        strict: true
+      required_pull_request_reviews:
+        dismiss_stale_reviews: true
+        required_approving_review_count: 1
+  rulesets:
+    - name: Protected branches
+      type: branch
+      branches:
+        includes:
+          - "~DEFAULT_BRANCH"
+          - "branch-*"
+          - "[0-9]*.x"
+          # Legacy release branches. Maven still pushes to dev/*-release 
branches.
+          - "[0-9]*-release"
+      restrict_deletion: true
+      restrict_force_push: true
       required_pull_request_reviews:
         dismiss_stale_reviews: true
         required_approving_review_count: 1
diff --git a/.github/workflows/license.yaml b/.github/dependabot.yml
similarity index 64%
copy from .github/workflows/license.yaml
copy to .github/dependabot.yml
index 2221f9e..e3c45ad 100644
--- a/.github/workflows/license.yaml
+++ b/.github/dependabot.yml
@@ -1,4 +1,3 @@
-#
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
 # this work for additional information regarding copyright ownership.
@@ -13,27 +12,10 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-#
-
-name: License
-
-on:
-  push:
-  pull_request:
-    branches:
-      - master
-    paths-ignore:
-      - '**/*.md'
 
-jobs:
-  license-header:
-    if: github.repository == 'apache/doris-shade'
-    name: License header
-    runs-on: ubuntu-latest
-    timeout-minutes: 10
-    steps:
-      - uses: actions/checkout@v3
-        with:
-          submodules: true
-      - name: Check license header
-        uses: apache/skywalking-eyes@main
+version: 2
+updates:
+  - package-ecosystem: github-actions
+    directory: /
+    schedule:
+      interval: weekly
diff --git a/.github/workflows/license.yaml b/.github/workflows/license.yaml
index 2221f9e..9d6331c 100644
--- a/.github/workflows/license.yaml
+++ b/.github/workflows/license.yaml
@@ -25,6 +25,9 @@ on:
     paths-ignore:
       - '**/*.md'
 
+permissions:
+  contents: read
+
 jobs:
   license-header:
     if: github.repository == 'apache/doris-shade'
@@ -32,8 +35,10 @@ jobs:
     runs-on: ubuntu-latest
     timeout-minutes: 10
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # 
v7.0.1
         with:
-          submodules: true
+          persist-credentials: false
       - name: Check license header
-        uses: apache/skywalking-eyes@main
+        uses: apache/skywalking-eyes@a196742f472feaffafea537ce5a2a4c3c53a8de4 
# v0.9.0
+        with:
+          token: ''


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to