Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/SOF-6744: improve CI workflow triggers #88

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 23 additions & 3 deletions .github/workflows/cicd.yml
@@ -1,6 +1,19 @@
name: Continuous Testing and Docs Publication

on: [push]
on:
pull_request:
branches:
- dev
types:
- opened
- ready_for_review
push:
branches:
- dev
workflow_dispatch:
schedule:
# At 02:00 on Sunday: https://crontab.guru/#0_2_*_*_0
- cron: "0 2 * * 0"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -15,7 +28,7 @@ jobs:

steps:
- name: Checkout this repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: true

Expand Down Expand Up @@ -46,7 +59,7 @@ jobs:

steps:
- name: Checkout this repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: true

Expand Down Expand Up @@ -105,3 +118,10 @@ jobs:
invalidation: /*
no-cache: true
private: true

- name: Github Action to keep the schedules alive after inactivity
uses: gautamkrishnar/keepalive-workflow@v1
with:
committer_username: exabyte-io-bot
committer_email: info@exabyte.io
time_elapsed: 50 # days