tools/github actions: update-metadata: update all metadata, not only missing

This commit is contained in:
nodiscc 2022-08-09 02:05:16 +02:00
parent 14d58f6e9d
commit 9abe9f4c6a
No known key found for this signature in database
GPG key ID: 067FC4266A4B6909
2 changed files with 7 additions and 5 deletions

View file

@ -1,6 +1,6 @@
on:
schedule:
- cron: '55 20 * * 1'
- cron: '06 00 * * 1'
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
@ -9,8 +9,10 @@ jobs:
test_schedule:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: make update_metadata
- 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

View file

@ -1,6 +1,6 @@
steps:
- name: update metadata from Github API
- name: update all metadata from Github API
module: processors/github_metadata
module_options:
source_directory: ./
gh_metadata_only_missing: True
gh_metadata_only_missing: False