mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-18 02:35:23 -04:00
c46ea44f43
* ci(pr-checks): add Conventional Commits PR-title check, pin actions by SHA Add a check-title job that fails the PR when the title is not Conventional Commits format (type(scope): summary), via an inline github-script regex. Pin the workflow's actions to their latest release commit SHAs: actions/checkout v6.0.3 and actions/github-script v9.0.0. * ci(pr-checks): flag unmergeable PRs in the PR-checks workflow Add a check-mergeable job to the (renamed) PR checks workflow: on PR events, poll the PR's mergeable state and, when it conflicts with the base, remove 'ready for review', add a red 'merge conflict' label (auto-created), and comment; clear the label once mergeable again. Single-PR, no push trigger. Add ready_for_review to the trigger types. * ci(pr-checks): drop the comment from check-mergeable, label swap only * ci(pr-checks): least-privilege workflow permissions contents:read for base-ref checkout, pull-requests:read for pulls.get mergeability, issues:write for label + comment management. Drops the unused pull-requests:write (labels and PR comments go through the issues API).