On 11/02/25 23:36 +0000, Richard Purdie via lists.openembedded.org wrote: > You used to be able to disable pull requests for six month periods, it > looks like you can no longer do that and it was a pain having to try > and remember anyway.
Isn't this just 'Settings -> Moderation Options -> Interaction Limits'? It looks like you can restrict it to repository collaborators (which is a list under the repo owner's control) to 6 months. It's also exposed on the REST API, https://docs.github.com/en/rest/interactions/repos?apiVersion=2022-11-28#set-interaction-restrictions-for-a-repository, which if you're willing to pull down the official github cli tool, gh, could go into a cron job fairly easily: gh api -X PUT \ /repos/openembedded/openembedded-core/interaction-limits \ -f 'limit=collaborators_only' \ -f 'expiry=six_months' I obviously couldn't test in the OpenEmbedded Org, but this worked both on my personal repos and in a private (paid) organization. -- Justin Bronder
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#211364): https://lists.openembedded.org/g/openembedded-core/message/211364 Mute This Topic: https://lists.openembedded.org/mt/111124663/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-