Skip to content

Commit a448d4e

Browse files
committed
Part cFS/workflows#177, Update Existing Workflows with Internal Logic
1 parent 92baf07 commit a448d4e

4 files changed

Lines changed: 17 additions & 7 deletions

File tree

.github/workflows/build-documentation.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Deploy Documentation
1+
name: Build Documentation
22

33
on:
44
push:
@@ -15,9 +15,8 @@ on:
1515
jobs:
1616
build-documentation:
1717
name: Build and deploy cFS documents
18-
uses: nasa/cFS/.github/workflows/build-deploy-doc.yml@main
18+
uses: nasa/cFS/.github/workflows/build-doc-reusable.yml@dev
1919
with:
2020
target: "[\"cf-usersguide\"]"
2121
app-name: cf
22-
buildpdf: ${{ github.event_name == 'push' && contains(github.ref, 'main')}}
23-
deploy: ${{ github.event_name == 'push' && contains(github.ref, 'main')}}
22+
buildpdf: ${{ github.event_name == 'push' && (contains(github.ref, 'main') || contains(github.ref, 'dev')) }}

.github/workflows/build-run-app.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ on:
1111
- reopened
1212
- synchronize
1313
workflow_dispatch:
14+
schedule:
15+
# 9:35 PM UTC every Sunday
16+
- cron: '35 21 * * 0'
1417

1518
jobs:
1619
build-run:
1720
name: Build and run with startup msg verification
18-
uses: nasa/cFS/.github/workflows/build-run-app.yml@main
21+
uses: nasa/cFS/.github/workflows/build-run-app-reusable.yml@dev

.github/workflows/format-check.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@ name: Format Check
22

33
# Run on all push and pull requests
44
on:
5+
push:
6+
branches:
7+
- dev
8+
- main
59
pull_request:
610
types:
711
- opened
812
- reopened
913
- synchronize
14+
workflow_dispatch:
1015

1116
jobs:
1217
format-check:
1318
name: Run format check
14-
uses: nasa/cFS/.github/workflows/format-check.yml@main
19+
uses: nasa/cFS/.github/workflows/format-check.yml@dev

.github/workflows/unit-test-coverage.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ on:
1111
- reopened
1212
- synchronize
1313
workflow_dispatch:
14+
schedule:
15+
# 9:25 PM UTC every Sunday
16+
- cron: '25 21 * * 0'
1417

1518
jobs:
1619
unit-test-coverage:
1720
name: Run unit test and coverage
18-
uses: nasa/cFS/.github/workflows/unit-test-coverage.yml@main
21+
uses: nasa/cFS/.github/workflows/unit-test-coverage-reusable.yml@dev

0 commit comments

Comments
 (0)