Deanna Garcia
7463878e35
Give protobuf janitor access to edit prs/issues and exempt issues with the 'help wanted' tag.
...
The initial job ran and found stale PRs/issues, but lacked the permission to comment on them, add labels, or close issues/PRs.
Any issues with 'help wanted' shouldn't be auto-closed as we want them to be able to sit inactive.
PiperOrigin-RevId: 580209299
1 year ago
Deanna Garcia
25f28ee6ca
Fix typo with janitor GHA, close-pr-message was accidentally defined twice.
...
PiperOrigin-RevId: 579213119
1 year ago
Deanna Garcia
76305620a1
Add a job to the janitor GHA to annotate any issues/PRs that have been inactive for the past 90 days with the `inactive` label (which has been added to github). The job will then close an issue if it has been marked inactive for 14 days.
...
Most of this is taken from https://github.com/carbon-language/carbon-lang/blob/trunk/.github/workflows/stale.yaml with a few adjustments, most importantly allowing the bot to auto-close issues.
PiperOrigin-RevId: 578906074
1 year ago
Mike Kruskal
14222b30f7
Fix permissions of janitor GHA
...
PiperOrigin-RevId: 561707787
1 year ago
Protobuf Team Bot
a3dfe32eeb
Set top and job level permissions for janitor.yml
...
It seems that the janitor.yml workflow only needs pull-requests: write permission -- to close the PRs. I've also granted the contents: read just in case.
PiperOrigin-RevId: 561444486
1 year ago
Mike Kruskal
9001fe193e
Remove quotes in janitor script
...
PiperOrigin-RevId: 560775605
1 year ago
Protobuf Team Bot
d2d869de27
Internal change
...
PiperOrigin-RevId: 560187737
1 year ago
Mike Kruskal
a2421d2c71
Remove quotes from janitor script
1 year ago
Mike Kruskal
e7ccd4bc55
Fix typo in janitor script
...
PiperOrigin-RevId: 560186596
1 year ago
Mike Kruskal
e59694d551
Specify the github repo for the janitor action
...
PiperOrigin-RevId: 560184865
1 year ago
Mike Kruskal
39f7334740
Fix another typo in janitor GHA
...
PiperOrigin-RevId: 560173228
1 year ago
Mike Kruskal
5ff9d8ba24
Fix another typo in janitor GHA
...
PiperOrigin-RevId: 560139410
1 year ago
Mike Kruskal
a777242878
Fix typo in janitor GHA
...
PiperOrigin-RevId: 560129834
1 year ago
Mike Kruskal
28260474bf
Add a script for cleaning up stale copybara PRs
...
This was tested locally over a smaller set of PRs, resulting in:
https://github.com/protocolbuffers/protobuf/pull/13557
PiperOrigin-RevId: 560124506
1 year ago