Skip to content

Commit 4d2e1c8

Browse files
lestarch-autobotdevin-ai-integration[bot]LeStarch
authored
CI: move devel-push jobs onto a nightly 2:00 PM Pacific schedule (#5647)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: michael.d.starch <michael.d.starch@jpl.nasa.gov>
1 parent cd5b559 commit 4d2e1c8

29 files changed

Lines changed: 93 additions & 37 deletions

‎.github/workflows/build-test-rhel8.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ name: CI [RHEL8]
55
# Controls when the action will run. Triggers the workflow on push or pull request
66
# events but only for the master branch
77
on:
8+
schedule:
9+
- cron: "0 21 * * *" # Nightly at 2:00 PM US/Pacific (PDT)
810
push:
9-
branches: [ devel, release/** ]
11+
branches: [ release/** ]
1012
pull_request:
1113
# The branches below must be a subset of the branches above
1214
branches: [ devel, release/** ]

‎.github/workflows/cmake-test.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ name: CMake Test
33
# Controls when the action will run. Triggers the workflow on push or pull request
44
# events but only for the master branch
55
on:
6+
schedule:
7+
- cron: "0 21 * * *" # Nightly at 2:00 PM US/Pacific (PDT)
68
push:
7-
branches: [ devel, release/** ]
9+
branches: [ release/** ]
810
pull_request:
911
# The branches below must be a subset of the branches above
1012
branches: [ devel, release/** ]

‎.github/workflows/codeql-jpl-standard.yml‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
name: "Code Scan: JPL Coding Standard"
55

66
on:
7+
schedule:
8+
- cron: "0 21 * * *" # Nightly at 2:00 PM US/Pacific (PDT)
79
push:
8-
branches: [ devel, release/** ]
10+
branches: [ release/** ]
911
pull_request:
1012
# The branches below must be a subset of the branches above
1113
branches: [ devel, release/** ]
@@ -97,7 +99,7 @@ jobs:
9799
# regressions are caught, but results are not uploaded, preventing stale
98100
# branches from accumulating alerts.
99101
- name: Upload SARIF
100-
if: github.event_name == 'push' && github.ref == 'refs/heads/devel'
102+
if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref == 'refs/heads/devel'
101103
uses: github/codeql-action/upload-sarif@v3
102104
with:
103105
sarif_file: sarif-results/cpp.sarif
@@ -107,12 +109,12 @@ jobs:
107109
# writes cpp.sarif, so rename to the config name for a unique file when
108110
# the artifacts are merged.
109111
- name: Rename SARIF for publishing
110-
if: github.event_name == 'push'
112+
if: github.event_name == 'push' || github.event_name == 'schedule'
111113
env:
112114
CONFIG_FILE: ${{ matrix.config-file }}
113115
run: cp sarif-results/cpp.sarif "sarif-results/${CONFIG_FILE%.yml}.sarif"
114116
- name: Upload SARIF artifact for publishing
115-
if: github.event_name == 'push'
117+
if: github.event_name == 'push' || github.event_name == 'schedule'
116118
uses: actions/upload-artifact@v4
117119
with:
118120
name: codeql-jpl-sarif-${{ matrix.config-file }}
@@ -128,7 +130,7 @@ jobs:
128130
publish-findings:
129131
name: Publish per-module findings
130132
needs: analyze
131-
if: github.event_name == 'push'
133+
if: github.event_name == 'push' || github.event_name == 'schedule'
132134
runs-on: ubuntu-22.04
133135
permissions:
134136
contents: write

‎.github/workflows/codeql-query-tests.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
name: "Code Scan: JPL Coding Standard Query Tests"
77

88
on:
9+
schedule:
10+
- cron: "0 21 * * *" # Nightly at 2:00 PM US/Pacific (PDT)
911
push:
10-
branches: [ devel, release/** ]
12+
branches: [ release/** ]
1113
paths:
1214
- '.github/codeql/**'
1315
- '.github/workflows/codeql-query-tests.yml'

‎.github/workflows/codeql-security-scan.yml‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
name: "Code Scan: CodeQL Security"
55

66
on:
7+
schedule:
8+
- cron: "0 21 * * *" # Nightly at 2:00 PM US/Pacific (PDT)
79
push:
8-
branches: [ devel, release/** ]
10+
branches: [ release/** ]
911
pull_request:
1012
# The branches below must be a subset of the branches above
1113
branches: [ devel, release/** ]
@@ -88,7 +90,7 @@ jobs:
8890
# regressions are caught, but results are not uploaded, preventing stale
8991
# branches from accumulating alerts.
9092
- name: Upload SARIF
91-
if: github.event_name == 'push' && github.ref == 'refs/heads/devel'
93+
if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref == 'refs/heads/devel'
9294
uses: github/codeql-action/upload-sarif@v3
9395
with:
9496
sarif_file: sarif-results/${{ matrix.language }}.sarif
@@ -97,7 +99,7 @@ jobs:
9799
# Hand the filtered SARIF to the publish-findings job so per-module
98100
# findings can be published without re-running CodeQL.
99101
- name: Upload SARIF artifact for publishing
100-
if: github.event_name == 'push'
102+
if: github.event_name == 'push' || github.event_name == 'schedule'
101103
uses: actions/upload-artifact@v4
102104
with:
103105
name: codeql-sarif-${{ matrix.language }}
@@ -112,7 +114,7 @@ jobs:
112114
publish-findings:
113115
name: Publish per-module findings
114116
needs: analyze
115-
if: github.event_name == 'push'
117+
if: github.event_name == 'push' || github.event_name == 'schedule'
116118
runs-on: ubuntu-22.04
117119
permissions:
118120
contents: write

‎.github/workflows/component-checks.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@
1313
name: "Component Checks"
1414

1515
on:
16+
schedule:
17+
- cron: "0 21 * * *" # Nightly at 2:00 PM US/Pacific (PDT)
1618
push:
17-
branches: [ devel, release/** ]
19+
branches: [ release/** ]
1820
tags: [ 'v*' ]
1921
workflow_dispatch:
2022

‎.github/workflows/config-test.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
name: "Config Test"
66

77
on:
8+
schedule:
9+
- cron: "0 21 * * *" # Nightly at 2:00 PM US/Pacific (PDT)
810
push:
9-
branches: [ devel, release/** ]
11+
branches: [ release/** ]
1012
pull_request:
1113
branches: [ devel, release/** ]
1214
paths-ignore:

‎.github/workflows/coverage-update.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@
1717
name: "Coverage Update"
1818

1919
on:
20+
schedule:
21+
- cron: "0 21 * * *" # Nightly at 2:00 PM US/Pacific (PDT)
2022
push:
21-
branches: [ devel, release/** ]
23+
branches: [ release/** ]
2224
tags: [ 'v*' ]
2325
workflow_dispatch:
2426

‎.github/workflows/cppcheck-scan.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
name: "Code Scan: CppCheck"
33

44
on:
5+
schedule:
6+
- cron: "0 21 * * *" # Nightly at 2:00 PM US/Pacific (PDT)
57
push:
6-
branches: [ devel, release/** ]
8+
branches: [ release/** ]
79
pull_request:
810
# The branches below must be a subset of the branches above
911
branches: [ devel, release/** ]

‎.github/workflows/ext-aarch64-linux-led-blinker.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
name: "External Repo: AArch64 Linux LedBlinker"
55

66
on:
7+
schedule:
8+
- cron: "0 21 * * *" # Nightly at 2:00 PM US/Pacific (PDT)
79
push:
8-
branches: [devel, release/**]
10+
branches: [release/**]
911
pull_request:
1012
# The branches below must be a subset of the branches above
1113
branches: [devel, release/**]

0 commit comments

Comments
 (0)