mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
.github/workflows: run CI on schedule
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
9
.github/workflows/duplicates.yml
vendored
9
.github/workflows/duplicates.yml
vendored
@@ -1,8 +1,8 @@
|
|||||||
---
|
|
||||||
|
|
||||||
name: duplicates
|
name: duplicates
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 12 * * *'
|
||||||
push:
|
push:
|
||||||
branches: [dev]
|
branches: [dev]
|
||||||
pull_request:
|
pull_request:
|
||||||
@@ -13,15 +13,16 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: dev
|
||||||
- name: Setup master gentoo repository
|
- name: Setup master gentoo repository
|
||||||
run: |
|
run: |
|
||||||
./scripts/setup-master-gentoo.sh
|
./scripts/setup-master-gentoo.sh
|
||||||
- name: Check for duplicates
|
- name: Check for duplicates
|
||||||
run: |
|
run: |
|
||||||
./scripts/check-duplicates.sh
|
./scripts/check-duplicates.sh
|
||||||
|
|
||||||
- name: Inform on IRC
|
- 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
|
uses: rectalogic/notify-irc@v1
|
||||||
with:
|
with:
|
||||||
channel: "#gentoo-guru"
|
channel: "#gentoo-guru"
|
||||||
|
|||||||
9
.github/workflows/pkgcheck.yml
vendored
9
.github/workflows/pkgcheck.yml
vendored
@@ -1,8 +1,8 @@
|
|||||||
---
|
|
||||||
|
|
||||||
name: pkgcheck
|
name: pkgcheck
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 12 * * *'
|
||||||
push:
|
push:
|
||||||
branches: [dev]
|
branches: [dev]
|
||||||
pull_request:
|
pull_request:
|
||||||
@@ -13,13 +13,14 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: dev
|
||||||
- name: Run pkgcheck
|
- name: Run pkgcheck
|
||||||
uses: pkgcore/pkgcheck-action@v1
|
uses: pkgcore/pkgcheck-action@v1
|
||||||
with:
|
with:
|
||||||
args: --keywords=-RedundantVersion,-NonsolvableDepsInDev
|
args: --keywords=-RedundantVersion,-NonsolvableDepsInDev
|
||||||
|
|
||||||
- name: Inform on IRC
|
- 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
|
uses: rectalogic/notify-irc@v1
|
||||||
with:
|
with:
|
||||||
channel: "#gentoo-guru"
|
channel: "#gentoo-guru"
|
||||||
|
|||||||
Reference in New Issue
Block a user