mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
.github/workflows: run CI on schedule
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
parent
f40f4b315e
commit
eaf430a014
9
.github/workflows/duplicates.yml
vendored
9
.github/workflows/duplicates.yml
vendored
@ -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"
|
||||
|
9
.github/workflows/pkgcheck.yml
vendored
9
.github/workflows/pkgcheck.yml
vendored
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user