Skip to content

Commit af2a9cc

Browse files
authored
Add CI on release branches (#2417)
* Trigger CI on release/* branches * Rename release/documentation to docs/auto-documentation * Fix PR template * Glob pattern to release/**
1 parent 2604f85 commit af2a9cc

16 files changed

+38
-30
lines changed

.github/actions/autodoc.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ cd "$GITHUB_WORKSPACE"
88
REMOTE="${1:-origin}"
99
git config --local user.email "nasa-fprime[bot]@users.noreply.github.com"
1010
git config --local user.name "nasa-fprime[bot]"
11-
git fetch "${REMOTE}" release/documentation
11+
git fetch "${REMOTE}" docs/auto-documentation
1212
git fetch "${REMOTE}" devel
13-
git checkout release/documentation
13+
git checkout docs/auto-documentation
1414
GIT_EDITOR=true git merge "${REMOTE}"/devel
1515
${GITHUB_WORKSPACE}/docs/doxygen/generate_docs.bash
1616
git add -Af "${GITHUB_WORKSPACE}/docs"

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
| | |
22
|:---|:---|
33
|**_Related Issue(s)_**| |
4-
|**_Has Unit Tests (y/n)_**| ||
4+
|**_Has Unit Tests (y/n)_**| |
55
|**_Documentation Included (y/n)_**| |
66

77
---

.github/workflows/build-test-macos.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ name: macOS-CI
66
# events but only for the master branch
77
on:
88
push:
9-
branches: [ master, devel ]
9+
branches: [ devel, release/** ]
1010
pull_request:
11-
branches: [ master, devel ]
11+
# The branches below must be a subset of the branches above
12+
branches: [ devel, release/** ]
1213
paths-ignore:
1314
- 'docs/**'
1415
- '**.md'

.github/workflows/build-test-rpi.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ name: RPI-CI
66
# events but only for the master branch
77
on:
88
push:
9-
branches: [ master, devel ]
9+
branches: [ devel, release/** ]
1010
pull_request:
11-
branches: [ master, devel ]
11+
# The branches below must be a subset of the branches above
12+
branches: [ devel, release/** ]
1213
paths-ignore:
1314
- 'docs/**'
1415
- '**.md'

.github/workflows/build-test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ name: CI
66
# events but only for the master branch
77
on:
88
push:
9-
branches: [ master, devel ]
9+
branches: [ devel, release/** ]
1010
pull_request:
11-
branches: [ master, devel ]
11+
# The branches below must be a subset of the branches above
12+
branches: [ devel, release/** ]
1213
paths-ignore:
1314
- 'docs/**'
1415
- '**.md'

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

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

66
on:
77
push:
8-
branches: [ master, devel ]
8+
branches: [ devel, release/** ]
99
pull_request:
1010
# The branches below must be a subset of the branches above
11-
branches: [ master, devel ]
11+
branches: [ devel, release/** ]
1212
paths-ignore:
1313
- 'docs/**'
1414
- '**.md'

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ name: "CodeQL Security Scan"
55

66
on:
77
push:
8-
branches: [ master, devel ]
8+
branches: [ devel, release/** ]
99
pull_request:
1010
# The branches below must be a subset of the branches above
11-
branches: [ master, devel ]
11+
branches: [ devel, release/** ]
1212
paths-ignore:
1313
- 'docs/**'
1414
- '**.md'

.github/workflows/cppcheck-scan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: "Cppcheck Scan"
33

44
on:
55
push:
6-
branches: [ master, devel ]
6+
branches: [ devel, release/** ]
77
pull_request:
88
# The branches below must be a subset of the branches above
9-
branches: [ master, devel ]
9+
branches: [ devel, release/** ]
1010
paths-ignore:
1111
- 'docs/**'
1212
- '**.md'

.github/workflows/cpplint-scan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: "Cpplint Scan"
22

33
on:
44
push:
5-
branches: [master, devel]
5+
branches: [ devel, release/** ]
66
pull_request:
77
# The branches below must be a subset of the branches above
8-
branches: [master, devel ]
8+
branches: [ devel, release/** ]
99
paths-ignore:
1010
- 'docs/**'
1111
- '**.md'

.github/workflows/ext-build-hello-world.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ name: "Tutorial: HelloWorld"
44

55
on:
66
push:
7-
branches: [ master, devel ]
7+
branches: [ devel, release/** ]
88
pull_request:
9-
branches: [ master, devel ]
9+
# The branches below must be a subset of the branches above
10+
branches: [ devel, release/** ]
1011
paths-ignore:
1112
- 'docs/**'
1213
- '**.md'

0 commit comments

Comments
 (0)