This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-dotnet.git
The following commit(s) were added to refs/heads/main by this push:
new 710f6e4 chore: Fix permission error on deploying main docs (#38)
710f6e4 is described below
commit 710f6e47bd20c5a0dca471a27d67c2fff65d581c
Author: Sutou Kouhei <[email protected]>
AuthorDate: Tue Sep 9 06:08:49 2025 +0900
chore: Fix permission error on deploying main docs (#38)
## What's Changed
We need `permissions: contents: write` to push the `asf-site` branch.
We don't need `contents: write` for the `package` job.
Closes #37.
---
.github/workflows/rc.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/rc.yaml b/.github/workflows/rc.yaml
index e8d24f5..ac3892f 100644
--- a/.github/workflows/rc.yaml
+++ b/.github/workflows/rc.yaml
@@ -97,8 +97,6 @@ jobs:
env:
RC: ${{ needs.target.outputs.rc }}
VERSION: ${{ needs.target.outputs.version }}
- permissions:
- contents: write
steps:
- name: Checkout
uses: actions/checkout@v5
@@ -179,6 +177,8 @@ jobs:
env:
RC: ${{ needs.target.outputs.rc }}
VERSION: ${{ needs.target.outputs.version }}
+ permissions:
+ contents: write
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #
v5.0.0