Skip to content

Commit 67b5786

Browse files
authored
Merge pull request #106 from arielswalker/part-cfs/workflows#177-update-existing-workflows-internal-logic
Part cFS/workflows#177, Update Existing Workflows with Internal Logic
2 parents af48917 + c9a54b0 commit 67b5786

5 files changed

Lines changed: 19 additions & 11 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: "[\"mm-usersguide\"]"
2121
app-name: mm
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/static-analysis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,5 @@ on:
1515

1616
jobs:
1717
static-analysis:
18-
name: Run cppcheck
19-
uses: nasa/cFS/.github/workflows/static-analysis.yml@main
20-
with:
21-
strict-dir-list: './fsw'
18+
name: Static Analysis
19+
uses: nasa/cFS/.github/workflows/app-static-analysis-reusable.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)