Skip to content

.github/workflows/_on-schedule.yaml #5

.github/workflows/_on-schedule.yaml

.github/workflows/_on-schedule.yaml #5

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" : failed to fetch workflow: workflow was not found.
with:
open-pr: true
build-preview:
needs: update-citations
if: needs.update-citations.outputs.changed == 'true'
uses: ./.github/workflows/build-preview.yaml