We have an automation configured to respond to questions from a Slack channel and find answers from our GitHub organization’s repositories. It has worked fine for a couple of weeks but today started reporting insufficient permissions.
We have granted the additional permissions in GitHub that were requested, but the automation continues to fail with the same message.
The only interaction that did succeed was one where we asked the automation if it was fixed. In its thinking, it was able to connect to our GitHub organization and list a connected repository.
Steps to Reproduce
Configure an automation to respond to questions in Slack with a GitHub connection
Ask a question that requires GitHub access to answer
Verify no response in Slack and the attached error message in the Automation run history
Expected Behavior
Reference code in GitHub to respond to questions in Slack.
This is a known issue that our team is actively working on. The underlying authentication mechanism for Cloud Automations can get into a stale state where it fails to properly recognize valid GitHub permissions, even though your setup looks correct.
Since you’ve already tried disconnecting and reconnecting the GitHub integration, the standard workaround unfortunately won’t help here. A fix is currently in code review and should be deployed soon.
In the meantime, one thing worth trying: check what permission scope your automation is set to. If it’s set to USER, try switching it to TEAM. Team-scoped automations use a different authentication path and may work around the issue.
We’ll update this thread once the fix is deployed. Apologies for the disruption.
Yes, that’s the right dropdown! The “Run as service account” options (which you’re already using with “Admin editable”) control how the automation authenticates with GitHub and other connected integrations.
Since you’re already on a service account scope, the workaround I mentioned wouldn’t change anything for your setup – you’re already on the team-level auth path.
The fix is still working its way through review. I’ll follow up here once it’s deployed.