Skip to content

fix(ci): add workflow permissions for sync-upstream#91

Merged
gqy20 merged 1 commit intogqy20:mainfrom
daiduo2:main
Feb 24, 2026
Merged

fix(ci): add workflow permissions for sync-upstream#91
gqy20 merged 1 commit intogqy20:mainfrom
daiduo2:main

Conversation

@daiduo2
Copy link
Contributor

@daiduo2 daiduo2 commented Feb 22, 2026

Add explicit permissions to fix 'refusing to allow a GitHub App to create or update workflow without workflows permission' error.

  • contents: write - allows pushing changes
  • workflows: write - allows modifying workflow files
  • Add Git config for proper commit attribution
  • Add error handling for empty merges

Add explicit permissions to fix 'refusing to allow a GitHub App to create
or update workflow without workflows permission' error.

- contents: write - allows pushing changes
- workflows: write - allows modifying workflow files
- Add Git config for proper commit attribution
- Add error handling for empty merges
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@gqy20 gqy20 merged commit 40af73a into gqy20:main Feb 24, 2026
6 of 7 checks 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