Skip to content

Scheduled 🕰️

Scheduled 🕰️ #110

Workflow file for this run

---
name: Scheduled 🕰️
on:
schedule:
- cron: "45 3 * * 0"
workflow_dispatch:
inputs:
chosen-workflow:
description: |
Select which workflow you'd like to run
required: true
type: choice
default: rhub
options:
- rhub
- dependency-test
- branch-cleanup
- revdepcheck
jobs:
dependency-test:
if: >
github.event_name == 'schedule' || (
github.event_name == 'workflow_dispatch' &&
inputs.chosen-workflow == 'dependency-test'
)
strategy:
fail-fast: false
matrix:
pair:
- { test-strategy: "min_cohort", test-additional-repos: "" }
- { test-strategy: "min_isolated", test-additional-repos: "" }
- { test-strategy: "release", test-additional-repos: "" }
- { test-strategy: "max", test-additional-repos: "https://pharmaverse.r-universe.dev" }
uses: insightsengineering/r.pkg.template/.github/workflows/verdepcheck.yaml@main
name: Dependency Test - ${{ matrix.test-strategy }} 🔢
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
GCHAT_WEBHOOK: ${{ secrets.GCHAT_WEBHOOK }}
with:
strategy: ${{ matrix.pair.test-strategy }}
additional-repos: ${{ matrix.pair.test-additional-repos }}

Check failure on line 43 in .github/workflows/scheduled.yaml

View workflow run for this annotation

GitHub Actions / Scheduled 🕰️

Invalid workflow file

The workflow is not valid. .github/workflows/scheduled.yaml (Line: 43, Col: 25): Invalid input, additional-repos is not defined in the referenced workflow.

Check failure on line 43 in .github/workflows/scheduled.yaml

View workflow run for this annotation

GitHub Actions / Scheduled 🕰️

Invalid workflow file

The workflow is not valid. .github/workflows/scheduled.yaml (Line: 43, Col: 25): Invalid input, additional-repos is not defined in the referenced workflow.
additional-env-vars: |
PKG_SYSREQS_DRY_RUN=true
branch-cleanup:
if: >
github.event_name == 'schedule' || (
github.event_name == 'workflow_dispatch' &&
inputs.chosen-workflow == 'branch-cleanup'
)
name: Branch Cleanup 🧹
uses: insightsengineering/r.pkg.template/.github/workflows/branch-cleanup.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
revdepcheck:
if: >
github.event_name == 'schedule' || (
github.event_name == 'workflow_dispatch' &&
inputs.chosen-workflow == 'revdepcheck'
)
name: revdepcheck ↩️
uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@main
with:
lookup-refs: |
insightsengineering/roxy.shinylive
insightsengineering/teal
insightsengineering/teal.transform
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.slice
insightsengineering/tern
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/nestcolor
rhub:
if: >
github.event_name == 'schedule' || (
github.event_name == 'workflow_dispatch' &&
inputs.chosen-workflow == 'rhub'
)
name: R-hub 🌐
uses: insightsengineering/r.pkg.template/.github/workflows/rhub.yaml@main
with:
lookup-refs: |
insightsengineering/roxy.shinylive
insightsengineering/teal
insightsengineering/teal.transform
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.slice
insightsengineering/tern
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/nestcolor