From 9abe9f4c6a68e87e37a41906ec9a3dcd7d5e190d Mon Sep 17 00:00:00 2001 From: nodiscc Date: Tue, 9 Aug 2022 02:05:16 +0200 Subject: [PATCH] tools/github actions: update-metadata: update all metadata, not only missing --- .github/workflows/update-metadata.yml | 8 +++++--- .hecat.update_metadata.yml | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/update-metadata.yml b/.github/workflows/update-metadata.yml index 340f6e9e71..267fb97ebc 100644 --- a/.github/workflows/update-metadata.yml +++ b/.github/workflows/update-metadata.yml @@ -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 diff --git a/.hecat.update_metadata.yml b/.hecat.update_metadata.yml index 2acaf8735d..d177496fca 100644 --- a/.hecat.update_metadata.yml +++ b/.hecat.update_metadata.yml @@ -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