This is an automated email from the ASF dual-hosted git repository. kgyrtkirk pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push: new 2420ba6 HIVE-23590: Close stale PRs automatically (#1049) 2420ba6 is described below commit 2420ba624f57eb6c15df8cfc3e4fb0ecbb89473e Author: Zoltan Haindrich <k...@rxd.hu> AuthorDate: Fri Jun 5 23:23:13 2020 +0200 HIVE-23590: Close stale PRs automatically (#1049) --- .asf.yaml | 4 ++-- .github/workflows/stale.yml | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/.asf.yaml b/.asf.yaml index fca520f..64a28ff 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -31,8 +31,8 @@ github: projects: false enabled_merge_buttons: squash: true - merge: true - rebase: true + merge: false + rebase: false notifications: commits: commits@hive.apache.org issues: git...@hive.apache.org diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..a01246b --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,22 @@ +name: "Close stale pull requests" +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-pr-message: This pull request has been automatically marked as + stale because it has not had recent activity. It will be closed if + no further activity occurs. + + Feel free to reach out on the d...@hive.apache.org list if the patch + is in need of reviews. + exempt-pr-labels: 'awaiting-approval,work-in-progress' + stale-pr-label: stale + days-before-stale: 60 + days-before-close: 7