PANIC: nil pointer dereference in actions concurrency during PR creation via API #136
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Creating a pull request via the REST API () triggers a nil pointer dereference panic in the actions concurrency module. The PR is created successfully, but the server returns a panic stack trace instead of a JSON response.
Steps to Reproduce
Expected Behavior
API returns HTTP 201 with the PR JSON object.
Actual Behavior
Server panics with:
Stack trace (key frames)
Root Cause (Probable)
The panic originates in which is called during the actions notifier flow after PR creation. A nil pointer is dereferenced when the actions runner tries to evaluate concurrency groups for workflows triggered by the event.
This likely occurs when:
Impact
Environment
Upstream Reference
This may be related to upstream Gitea issues with the actions concurrency feature. Check if a fix exists in recent Gitea releases before patching the fork.