This is an automated email from the ASF dual-hosted git repository.
dinglei pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push:
new 18f5f28af5 Set specific permissions to trigger the retry mechanism
(#8566)
18f5f28af5 is described below
commit 18f5f28af5c908d2d9986bbd824f237be9baf5e9
Author: 小陈 <[email protected]>
AuthorDate: Wed Aug 21 10:57:08 2024 +0800
Set specific permissions to trigger the retry mechanism (#8566)
---
.github/workflows/bazel.yml | 3 +++
.github/workflows/maven.yaml | 4 ++++
.github/workflows/rerun-workflow.yml | 3 +++
3 files changed, 10 insertions(+)
diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml
index 73a49aa6a6..268a06a79f 100644
--- a/.github/workflows/bazel.yml
+++ b/.github/workflows/bazel.yml
@@ -8,6 +8,9 @@ on:
- develop
- bazel
+permissions:
+ actions: write
+
jobs:
build:
name: "bazel-compile (${{ matrix.os }})"
diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml
index 3291d993ea..449f637894 100644
--- a/.github/workflows/maven.yaml
+++ b/.github/workflows/maven.yaml
@@ -4,6 +4,10 @@ on:
types: [opened, reopened, synchronize]
push:
branches: [master, develop, bazel]
+
+permissions:
+ actions: write
+
jobs:
java_build:
name: "maven-compile (${{ matrix.os }}, JDK-${{ matrix.jdk }})"
diff --git a/.github/workflows/rerun-workflow.yml
b/.github/workflows/rerun-workflow.yml
index 2f3258c1f6..bf83fc51b6 100644
--- a/.github/workflows/rerun-workflow.yml
+++ b/.github/workflows/rerun-workflow.yml
@@ -5,6 +5,9 @@ on:
run_id:
required: true
+permissions:
+ actions: write
+
jobs:
rerun:
runs-on: ubuntu-latest