[PR #24809] fix: add missing statuses permission to main CI workflow #30800

Closed
opened 2026-02-21 20:48:15 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/24809

State: closed
Merged: Yes


Summary

This PR fixes a CI workflow permission error that prevents the style checks from running correctly.

Problem

The main-ci.yml workflow was failing with:

The workflow is requesting 'statuses: write', but is only allowed 'statuses: none'.

Solution

Added the missing statuses: write permission to the main-ci.yml workflow's permissions section. This allows the reusable style.yml workflow to update commit statuses as required.

Changes

  • Added statuses: write to the permissions in .github/workflows/main-ci.yml

Fixes #24808

**Original Pull Request:** https://github.com/langgenius/dify/pull/24809 **State:** closed **Merged:** Yes --- ## Summary This PR fixes a CI workflow permission error that prevents the style checks from running correctly. ## Problem The main-ci.yml workflow was failing with: ``` The workflow is requesting 'statuses: write', but is only allowed 'statuses: none'. ``` ## Solution Added the missing `statuses: write` permission to the main-ci.yml workflow's permissions section. This allows the reusable style.yml workflow to update commit statuses as required. ## Changes - Added `statuses: write` to the permissions in `.github/workflows/main-ci.yml` Fixes #24808
yindo added the pull-request label 2026-02-21 20:48:15 -05:00
yindo closed this issue 2026-02-21 20:48:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#30800