Skip to content

Use ubuntu-22.04 explicitly instead of ubuntu-latest to avoid ruby/se… #23

Use ubuntu-22.04 explicitly instead of ubuntu-latest to avoid ruby/se…

Use ubuntu-22.04 explicitly instead of ubuntu-latest to avoid ruby/se… #23

Workflow file for this run

name: on-schedule

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

View workflow run for this annotation

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

Invalid workflow file

(Line: 29, Col: 5): Unexpected value 'uses'
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
with:
open-pr: true
build-preview:
runs-on: ubuntu-latest
needs: update-citations
if: needs.update-citations.outputs.changed == 'true'
uses: ./.github/workflows/build-preview.yaml