Skip to content

Commit

Permalink
Update workflows and documentation to point to main (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertPincus authored Feb 7, 2025
2 parents 0898266 + bbb2bd5 commit f05e934
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
target-branch: "develop"
interval: "weekly"
target-branch: "main"
3 changes: 0 additions & 3 deletions .github/workflows/check-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ on:
push:
branches:
- main
- develop
pull_request:
branches-ignore:
- documentation
workflow_dispatch:


Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/containerized-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ on:
push:
branches:
- main
- develop
pull_request:
branches-ignore:
- documentation
workflow_dispatch:

jobs:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ on:
push:
branches:
- main
- develop
pull_request:
branches-ignore:
- documentation
workflow_dispatch:

defaults:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/doc-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ on:
push:
branches:
- main
- documentation
pull_request:
workflow_dispatch:

jobs:
Build:
Expand Down Expand Up @@ -60,7 +61,7 @@ jobs:
# Check broken links
#
- name: Broken Link Check
if: ${{ github.ref == 'refs/heads/documentation'}}
if: ${{ github.ref == 'refs/heads/main'}}
uses: technote-space/broken-link-checker-action@v2
with:
TARGET: file://${{ github.workspace }}/doc/ford_site/pages/index.html
Expand All @@ -71,7 +72,7 @@ jobs:
#
- name: Deploy API Documentation
uses: JamesIves/[email protected]
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/documentation' }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
branch: gh-pages
folder: public/
3 changes: 0 additions & 3 deletions .github/workflows/gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ on:
push:
branches:
- main
- develop
pull_request:
branches-ignore:
- documentation
workflow_dispatch:

defaults:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ on:
push:
branches:
- main
- develop
pull_request:
branches-ignore:
- documentation
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ci:
autofix_prs: false
autoupdate_branch: develop
autoupdate_branch: main

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down
2 changes: 1 addition & 1 deletion Contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ Please fork this repository, branch from `main`, make your changes, and open a G

##### Did you add functionality?

Please fork this repository, branch from `develop`, make your changes, and open a Github [pull request](https://github.com/RobertPincus/rte-rrtmgp/pulls) against branch `main`, adding a new regression test or comparison against the reference in `tests/verification.py` or `tests/validation-plots.py` as appropriate. Add the test to `CMakeLists.txt` in the relevant directory.
Please fork this repository, branch from `main`, make your changes, and open a Github [pull request](https://github.com/RobertPincus/rte-rrtmgp/pulls) against branch `main`, adding a new regression test or comparison against the reference in `tests/verification.py` or `tests/validation-plots.py` as appropriate. Add the test to `CMakeLists.txt` in the relevant directory.

RTE+RRTMGP is intended to be a core that users can extend with custom code to suit their own needs.

0 comments on commit f05e934

Please sign in to comment.