Skip to content

.github/workflows/on-schedule.yaml #50

.github/workflows/on-schedule.yaml

.github/workflows/on-schedule.yaml #50

Workflow file for this run

name: on-schedule
run-name: on schedule
on:
schedule:
# weekly
- cron: "0 0 * * 1"
# run if user manually requests it
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
update-citations:
# only run on user instance of template, not template itself
if: github.repository != 'greenelab/lab-website-template'
uses: ./.github/workflows/update-citations.yaml

Check failure on line 20 in .github/workflows/on-schedule.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/on-schedule.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/on-schedule.yaml" -> "./.github/workflows/update-citations.yaml" (source branch with sha:ae30dde9e3e6df04ae94f2a1b7a00b46b84fac11) : No event triggers defined in `on`
with:
open-pr: true
build-preview:
needs: update-citations
if: needs.update-citations.outputs.changed == 'true'
uses: ./.github/workflows/build-preview.yaml