rizin/.github
Rot127 a0da72a5c9
Add AGENTS.md with requirement to disclose agent authorship and flag PRs with detected AI usage. (#6025)
* Add AGENTS.md with requirement to disclose agent authorship.
* Check for edits to AGENTS.md
* Add PR label on detected AI authorship.

This PR adds an automated check if a contributor used an AI Agent to generate code.

It does this by:
- Adding an AGENT.md requesting the Agent to add a "co-authored by" line to each commit message it generates.
- An added workflow (`llm_check.yml`) runs to check for any commit having such a matched line in it.
- If it finds it, it adds the `AI/LLM` label. The label IS NOT removed automatically if a force push changes the commit message.

The additional `get_real_pr_shas.yml` is a requirement sadly.
It is currently impossible to get the commit the PR is based on via Github APIs.
The variables `github.base_ref` or `github.pull_request.base.sha` either return the commit hash when the PR was created (breaks after rebase) or the new HEAD of the base branch after something unrelated was merged (see: https://github.com/actions/runner/issues/1689).

This makes it effectively impossible to get the output of `git log actual_pr_base..HEAD` via the Github API.
2026-03-13 15:00:14 +00:00
..
cmake_test Provide CMake config files for CMake projects (#2057) 2021-12-17 09:16:25 +00:00
ISSUE_TEMPLATE issue template: hide warning message (#3886) 2023-09-25 17:00:19 +08:00
subproject_test Move RzBreakpoint into RzDebug (#5124) 2025-05-13 01:57:37 +08:00
workflows Add AGENTS.md with requirement to disclose agent authorship and flag PRs with detected AI usage. (#6025) 2026-03-13 15:00:14 +00:00
dependabot.yml Add dependabot for the github actions. (#5345) 2025-09-09 17:13:22 +08:00
labeler.yml Bump actions/labeler from 4 to 6 (#5374) 2025-09-13 22:38:10 +08:00
meson-android-aarch64.ini Update Android NDK to the latest default platform (#3009) 2022-09-08 12:00:31 +08:00
meson-android-arm.ini Update Android NDK to the latest default platform (#3009) 2022-09-08 12:00:31 +08:00
meson-android-x86_64.ini Update Android NDK to the latest default platform (#3009) 2022-09-08 12:00:31 +08:00
PULL_REQUEST_TEMPLATE.md Fix urls in pull request template (#5556) 2025-11-28 22:49:18 +08:00
upload.sh Create new GitHub workflow for continuous build ##build (#17603) 2020-09-08 10:13:47 +02:00