It is debatable if this is a good idea, as a search engine does return reasonable but somehow obsolete articles (depending on the engine). The FAQ is the most up to date.
This is the pattern to detect:
Warning: Failed to create pull request: GitHub Actions is not permitted to create or approve pull requests.
Error: Permission error: GitHub Actions is not permitted to create or approve pull requests
And this is the relevant FAQ: https://github.github.com/gh-aw/reference/faq/#why-is-my-create-pull-request-workflow-failing-with-github-actions-is-not-permitted-to-create-or-approve-pull-requests