Skip to content

Commit 1737bf3

Browse files
feat(ci): add scheduled data collection every 15 minutes
- Updated GitHub Actions workflow to run data collection tasks every 15 minutes using cron syntax. - Added new schedule trigger alongside pull request trigger for continuous monitoring. - Enhanced CI pipeline for both frontend and backend tests with separate tasks for each. - Introduced concurrency control to avoid overlapping executions on the same branch.
1 parent d0315b1 commit 1737bf3

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/pull_request_automation.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
name: CI
22

3+
# Trigger the workflow on push to pull request, as well as scheduled every 15 minutes
34
on:
45
pull_request:
56
branches:
67
- main
78
- develop
89

9-
# discard previous execution if you commit to a branch that is already running
10+
# Schedule to run every 15 minutes
11+
schedule:
12+
- cron: '*/15 * * * *' # Runs every 15 minutes
13+
14+
# Prevent multiple executions on the same branch
1015
concurrency:
1116
group: ${{ github.workflow }}-${{ github.ref }}
1217
cancel-in-progress: true
@@ -43,7 +48,6 @@ jobs:
4348
node_versions: >-
4449
["20"]
4550
46-
4751
backend-tests:
4852
needs: detect-changes
4953
if: ${{ needs.detect-changes.outputs.backend > 0 }}

0 commit comments

Comments
 (0)