Skip to content

Commit

Permalink
Update GHA build triggers
Browse files Browse the repository at this point in the history
Co-authored-by: Bai-Li-NOAA <[email protected]>
  • Loading branch information
k-doering-NOAA and Bai-Li-NOAA authored Jan 7, 2025
1 parent cb222ec commit 648f75f
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 26 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
push:
branches:
- main
- dev
# To run the default repository branch weekly on sunday, uncomment the following 2 lines
#schedule:
#- cron: '0 0 * * 0'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/call-build-pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
branches:
- main
- dev
jobs:
call-workflow:
uses: nmfs-fish-tools/ghactions4r/.github/workflows/build-pkgdown.yml@main
17 changes: 8 additions & 9 deletions .github/workflows/call-calc-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ name: call-calc_coverage
# The default is to run the workflow on every push or pull request to every branch.
on:
workflow_dispatch:
paths-ignore:
- .devcontainer
- .github
- 'LICENSE'
- 'README.md'
- 'CONTRIBUTING.md'
- 'Rbuildignore'
- '.gitignore'
- 'man'
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
call-workflow:
uses: nmfs-fish-tools/ghactions4r/.github/workflows/calc-coverage.yml@main
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/call-doc-and-style-r.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
name: call-doc-and-style-r
# on specifies the build triggers. See more info at https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows
on:
# workflow_dispatch requires pushing a button to run the workflow manually. uncomment the following line to add:
workflow_dispatch:
# Runs the workflow on each push to the main or master branch:
push:
branches:
- main
- dev
jobs:
call-workflow:
uses: nmfs-fish-tools/ghactions4r/.github/workflows/doc-and-style-r.yml@main
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/call-update-pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
name: call-update-pkgdown
# on specifies the build triggers. See more info at https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows
on:
# this workflow runs on pushes to main or master or any time a new tag is pushed
# this workflow runs on pushes to main or any time a new tag is pushed
push:
branches: [main, master]
branches: [main]
tags: ['*']
jobs:
call-workflow:
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/get-gtest-codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,11 @@ on:
push:
branches:
- main
paths-ignore:
- .devcontainer
- .github
- 'LICENSE'
- 'README.md'
- 'CONTRIBUTING.md'
- 'Rbuildignore'
- '.gitignore'
- 'man'
- dev
pull_request:
branches:
- main
- dev

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/run-clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
push:
branches:
- main
- dev

jobs:
job:
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/run-clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ name: run-clang-tidy

on:
workflow_dispatch:
# The default build trigger is to run the action on every push and pull request, for any branch
push:
# To run the default repository branch weekly on sunday, uncomment the following 2 lines
#schedule:
#- cron: '0 0 * * 0'
branches:
- main
- dev
pull_request:
branches:
- main
- dev

jobs:
job:
Expand Down

0 comments on commit 648f75f

Please sign in to comment.