[
https://issues.apache.org/jira/browse/BEAM-4423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16497545#comment-16497545
]
Alan Myrvold commented on BEAM-4423:
------------------------------------
Comment added to the infra request:
>From the github app permissions documentation, merge is not allowed in the
>permissions requested by probot-stale.
API for merge is
[https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button]
PUT /repos/:owner/:repo/pulls/:number/merge
API's requested for probot-stale are described in
[https://github.com/probot/stale/blob/master/docs/deploy.md]
including read/write for pull requests.
Github App permissions in
[https://developer.github.com/v3/apps/permissions/]
Indicates the merge of a pull request is in the content permission, and not
included in the write permission for pull requests.
[https://developer.github.com/v3/apps/permissions/#permission-on-contents]
[https://developer.github.com/v3/apps/permissions/#permission-on-pull-requests]
> Automatically clean-up stale pull requests
> ------------------------------------------
>
> Key: BEAM-4423
> URL: https://issues.apache.org/jira/browse/BEAM-4423
> Project: Beam
> Issue Type: Improvement
> Components: build-system
> Reporter: Scott Wegner
> Assignee: Alan Myrvold
> Priority: Minor
> Labels: github, infra
>
> See conversation on the [dev@
> list|https://lists.apache.org/thread.html/bda552ea7073ca165aaf47034610afafe22d589e386525023d33609e@%3Cdev.beam.apache.org%3E]
> We have many pull requests which have gone inactive for one reason or
> another. These accumulate over time and make it more difficult to track
> active pull requests. The idea is to have some policy and automation around
> cleaning up stale PR's.
> For example:
> * Add a comment after X weeks stating the stale PR policy and that this PR
> will be closed if there is no activity in X days
> * If there is still no activity after X additional days, close the PR.
> We should explore tools that are already built for this, such as
> https://github.com/probot/stale
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)