File: auto-approve.yml

package info (click to toggle)
mlpack 4.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 32,064 kB
  • sloc: cpp: 233,202; python: 1,940; sh: 1,201; lisp: 414; makefile: 85
file content (22 lines) | stat: -rw-r--r-- 676 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Once a PR has been approved by one member of the mlpack organization, a second
# approving review will automatically be added 24 hours later.  This allows time
# for other maintainers to take a look.
name: Auto-approve pull requests
on:
  schedule:
   # Run roughly every four hours.
   - cron: "15 0,4,8,12,16,20 * * *"

jobs:
  auto-approve:
    runs-on: ubuntu-latest
    permissions:
      pull-requests: write

    steps:
     - name: Auto-approve pull requests
       uses: rcurtin/actions/auto-approve@v1
       with:
         repo-token: ${{ secrets.GITHUB_TOKEN }}
         approval-message:
           'Second approval provided automatically after 24 hours. :+1:'