.github/workflows: run CI on schedule

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova 2023-04-20 20:18:09 +05:00
parent f40f4b315e
commit eaf430a014
No known key found for this signature in database
GPG Key ID: E7B76EDC50864BB1
2 changed files with 10 additions and 8 deletions

View File

@ -1,8 +1,8 @@
---
name: duplicates
on:
schedule:
- cron: '0 12 * * *'
push:
branches: [dev]
pull_request:
@ -13,15 +13,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: dev
- name: Setup master gentoo repository
run: |
./scripts/setup-master-gentoo.sh
- name: Check for duplicates
run: |
./scripts/check-duplicates.sh
- name: Inform on IRC
if: ${{ failure() && github.repository == 'gentoo/guru' && github.event_name == 'push' }}
if: ${{ failure() && github.repository == 'gentoo/guru' && github.event_name != 'pull_request' }}
uses: rectalogic/notify-irc@v1
with:
channel: "#gentoo-guru"

View File

@ -1,8 +1,8 @@
---
name: pkgcheck
on:
schedule:
- cron: '0 12 * * *'
push:
branches: [dev]
pull_request:
@ -13,13 +13,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: dev
- name: Run pkgcheck
uses: pkgcore/pkgcheck-action@v1
with:
args: --keywords=-RedundantVersion,-NonsolvableDepsInDev
- name: Inform on IRC
if: ${{ failure() && github.repository == 'gentoo/guru' && github.event_name == 'push' }}
if: ${{ failure() && github.repository == 'gentoo/guru' && github.event_name != 'pull_request' }}
uses: rectalogic/notify-irc@v1
with:
channel: "#gentoo-guru"