Skip to content

ci: Fix lock threads workflow permissions - #23165

Merged
MartinZikmund merged 1 commit into
masterfrom
dev/mazi/lock
Apr 30, 2026
Merged

MartinZikmund merged 1 commit into
masterfrom
dev/mazi/lock

Conversation

@MartinZikmund

Copy link
Copy Markdown
Member

Summary

  • Add discussions: write permission so dessant/lock-threads@v5 can lock stale discussions (the action processes discussions by default, which was causing "Resource not accessible by integration" failures)
  • Enable log-output: true for better diagnostics on future runs

Fixes the failing run: https://github.com/unoplatform/uno/actions/runs/25169549361

Test plan

  • Manually trigger the Lock Threads workflow via workflow_dispatch and confirm it completes without permission errors

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings April 30, 2026 14:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Lock Threads GitHub Actions workflow to avoid permission failures when dessant/lock-threads@v5 processes GitHub Discussions, and to improve diagnostics during runs.

Changes:

  • Grant discussions: write permission so the workflow can lock stale discussions without failing.
  • Enable log-output: true to increase action logging.

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

Comment thread .github/workflows/lock-threads.yml Resolved
@MartinZikmund
MartinZikmund enabled auto-merge April 30, 2026 14:33
@MartinZikmund
MartinZikmund merged commit d829926 into master Apr 30, 2026
17 checks passed
@MartinZikmund
MartinZikmund deleted the dev/mazi/lock branch April 30, 2026 16:40
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants