Skip to content

Create UpdateReadme.yml #1

Create UpdateReadme.yml

Create UpdateReadme.yml #1

Workflow file for this run

name: Update README with ABOUT.md and INSTALL.md

Check failure on line 1 in .github/workflows/UpdateReadme.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/UpdateReadme.yml

Invalid workflow file

(Line: 10, Col: 9): Unrecognized function: 'hashFiles'. Located at position 1 within expression: hashFiles('README.template.md') != ''
on:
schedule:
- cron: '0 6 * * 1' # every Monday at 06:00 UTC
workflow_dispatch: # manual trigger
jobs:
call-shared:
if: ${{ hashFiles('README.template.md') != '' }} # only run if the file exists
uses: control-toolbox/CTActions/.github/workflows/update-readme.yml@main
with:
template_file: README.template.md
output_file: README.md
package_name: OptimalControl # package for INSTALL.md
repo_name: OptimalControl.jl # repository for CONTRIBUTING.md links
citation_badge: "[![DOI](https://zenodo.org/badge/848989278.svg)](https://zenodo.org/doi/10.5281/zenodo.17013180)" # example, can be empty
assignee: "ocots"
secrets: inherit