Skip to content

review

review #5463

Workflow file for this run

name: review
on:
workflow_dispatch:
schedule:
- cron: '10 * * * *'
jobs:
review:
runs-on: ubuntu-latest
steps:
- name: Generate GitHub installation access token.
uses: actions/[email protected]
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install libglpk-dev
- name: Install R.
uses: r-lib/actions/setup-r@v2
with:
extra-repositories: https://community.r-multiverse.org
use-public-rspm: true
- name: Install helper R package.
run: install.packages("multiverse.internals")
shell: Rscript {0}
- name: Review pull requests
env:
GITHUB_PAT: ${{ steps.app-token.outputs.token }}
run: |
multiverse.internals::review_pull_requests(
owner = "${{ github.repository_owner }}",
repo = "contributions"
)
shell: Rscript {0}