Skip to content

Grant release job contents:write to resolve Create Release 403#7

Merged
gb63728f4 merged 4 commits into
mainfrom
copilot/fix-create-release-403-issue
Apr 8, 2026
Merged

Grant release job contents:write to resolve Create Release 403#7
gb63728f4 merged 4 commits into
mainfrom
copilot/fix-create-release-403-issue

Conversation

Copilot AI commented Apr 8, 2026

Copy link
Copy Markdown
Contributor
  • 檢視新留言與指定 review thread 的具體回饋內容
  • 檢查目前分支狀態與現有 workflow 內容
  • 依 review thread 進行最小必要調整
  • 驗證 build/test 與相關 workflow 變更
  • 回覆新留言並附上對應 commit hash

Copilot AI and others added 3 commits April 8, 2026 02:06
Agent-Logs-Url: https://github.com/gb63728f4/UpdateService/sessions/d3de2714-0a6d-4101-8347-3238aae5f468

Co-authored-by: gb63728f4 <39524431+gb63728f4@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gb63728f4/UpdateService/sessions/d3de2714-0a6d-4101-8347-3238aae5f468

Co-authored-by: gb63728f4 <39524431+gb63728f4@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the release GitHub Actions workflow token permissions to allow the Create Release step to succeed (fixing the 403 Resource not accessible by integration error) by granting the workflow GITHUB_TOKEN write access to repository contents.

Changes:

  • Added explicit workflow-level permissions: contents: write to .github/workflows/release.yml to enable release creation and release note generation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/release.yml Outdated
@gb63728f4

Copy link
Copy Markdown
Owner

@copilot apply changes based on the comments in this thread

Copilot AI changed the title Grant release workflow contents:write to resolve Create Release 403 Grant release job contents:write to resolve Create Release 403 Apr 8, 2026
Copilot AI requested a review from gb63728f4 April 8, 2026 02:15

Copilot AI commented Apr 8, 2026

Copy link
Copy Markdown
Contributor Author

@copilot apply changes based on the comments in this thread

已檢視你提供的 review thread;其中可執行的調整已在 00f5ed5 完成(將 permissions 移到 jobs.build-and-release.permissions)。目前該 thread 沒有其他需要再修改的程式碼項目。

@gb63728f4 gb63728f4 merged commit f49d27a into main Apr 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants