mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted-data.git
synced 2026-03-11 08:55:24 +00:00
tools/github actions: move url checks to a separate workflow
- schedule at same time as the daily metadata update workflow
This commit is contained in:
parent
39d413986c
commit
af5ff2b3e5
2 changed files with 18 additions and 6 deletions
6
.github/workflows/daily-update-metadata.yml
vendored
6
.github/workflows/daily-update-metadata.yml
vendored
|
|
@ -25,9 +25,3 @@ jobs:
|
|||
git add software/ tags/ platforms/ licenses*.yml
|
||||
git diff-index --quiet HEAD || git commit -m "[bot] update projects metadata"
|
||||
git push
|
||||
|
||||
url-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: make url_check
|
||||
|
|
|
|||
18
.github/workflows/daily-url-check.yml
vendored
Normal file
18
.github/workflows/daily-url-check.yml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
on:
|
||||
schedule:
|
||||
- cron: '22 22 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
url-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: make url_check
|
||||
Loading…
Reference in a new issue