In my case, my GitHub App was (intentionally, expectedly) modifying a GitHub Action YML file and I had to grant the App "Read and write" to Actions at the repository level under App -> Developer settings -> Permissions & events.
Then in .github/workflows/my-workflow.yml
that I was running to edit the Action, I added the following:
permissions:
actions: write