Mirroring R-forge #3547
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
schedule: | |
- cron: '0 */6 * * *' | |
workflow_dispatch: | |
inputs: | |
action: | |
description: Which action to perform | |
required: true | |
default: quick | |
force: | |
description: Also refresh up-to-date mirrors | |
required: false | |
name: Mirroring R-forge | |
jobs: | |
update: | |
name: Mirror R-forge | |
runs-on: ubuntu-latest | |
steps: | |
- name: Find and update R-forge repos | |
uses: r-universe-org/rforge-mirror@master | |
with: | |
action: ${{ github.event.inputs.action }} | |
force: ${{ github.event.inputs.force }} | |
env: | |
GITHUB_PAT: ${{ secrets.RFORGE_PAT }} |