CI: test automatic README.md updating #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Update README daily" | ||
author: valgur | ||
Check failure on line 2 in .github/workflows/daily.yml GitHub Actions / Update README dailyInvalid workflow file
|
||
on: | ||
push: | ||
# schedule: | ||
# - cron: "33 3 * * *" | ||
# workflow_dispatch: | ||
jobs: | ||
update_readme: | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
- name: Install prereqs | ||
run: pip install -U yq | ||
- name: Get changed files | ||
run: | | ||
cd recipes | ||
find -maxdepth 1 * -name config.yml | sort | while read f; do pkg=$(dirname "$f"); yq --raw-output '.versions | "'"$pkg/"'" + keys_unsorted[]' $f | sort; done | tee dev.list |