* Replace danger-swift with a actions/github-script version
* Report PR check results in a comment
Annotations are only visible in the Checks tab, so the results were easy to
miss on the pull request itself. The workflow now keeps a single comment up to
date on the Conversation tab, listing failures and warnings together, and
deletes it again once there is nothing left to report.
Commenting on pull requests from forks needs a token with write access, which
the pull_request trigger does not provide, hence the switch to
pull_request_target. The job never checks out or executes any code from the
pull request, it only reads the event payload and the list of changed files.
* Update AGENTS.md concurrency section for Swift 6.2 migration
* Add a caveman update line to AGENTS.md.
---------
Co-authored-by: Doug <douglase@element.io>
* Add an AGENTS.md file to the project with Opus.
Also add a CLAUDE.md file that references the AGENTS.md file.
* Remove useless instructions and add commands for generating/building the project.
* Review with ChatGPT.
* Optimise for token usage with Sonnet
* Tweaks.