awesome-selfhosted-data/.github/workflows/update-metadata.yml

22 lines
624 B
YAML

on:
schedule:
- cron: '22 22 * * *'
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
jobs:
test_schedule:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: update all metadata from Github API
run: make update_metadata
- name: commit and push changes
run: |
git config user.name awesome-selfhosted-bot
git config user.email github-actions@github.com
git add software/ tags/ platforms/ licenses*.yml
git diff-index --quiet HEAD || git commit -m "[bot] update projects metadata"
git push