-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pull from upstream and resolve conflicts
- Loading branch information
Showing
256 changed files
with
3,904 additions
and
4,426 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# | ||
# Add project labels | ||
# | ||
|
||
# Add 'Documentation' label to any changes in the documentation | ||
|
||
'Documentation': | ||
- book_source/** | ||
- documentation/** | ||
- CONTRIBUTING.md | ||
- DEBUGING.md | ||
- DEV-INTRO.md | ||
- README.md | ||
|
||
# Add 'Dockerfile' label to any changes in the docker directory | ||
'Dockerfile': | ||
- docker/** | ||
|
||
|
||
# Add 'Website' label to any changes in the web directory | ||
|
||
'Website': | ||
- web/** | ||
|
||
# Add 'Base' label to any changes in the base directory | ||
|
||
'Base': | ||
- base/** | ||
|
||
# Add 'Models' label to any changes in the models directory | ||
|
||
'Models': | ||
- models/** | ||
|
||
# Add 'Modules' label to any changes in the modules directory | ||
|
||
'Modules': | ||
- modules/** | ||
|
||
# Add 'GitHub Actions' label to any changes in the .github/workflows directory | ||
|
||
'GitHub Actions': | ||
- .github/workflows/** | ||
|
||
# Add 'Scripts' label to any changes in the scripts directory | ||
|
||
'Scripts': | ||
- scripts/** | ||
|
||
# Add 'Tests' label to any changes in the tests directory | ||
|
||
'Tests': | ||
- tests/** | ||
- '**/tests/**' | ||
- '!**/tests/Rcheck_reference.log' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#Define the colour of labels over here | ||
|
||
labels: | ||
|
||
- name: "Documentation" | ||
color: a2dcf2 | ||
|
||
- name: "Dockerfile" | ||
color: 0052CC | ||
|
||
- name: "Website" | ||
color: 84b6eb | ||
|
||
- name: "Base" | ||
color: 1ED626 | ||
|
||
- name: "Models" | ||
color: C5DEF5 | ||
|
||
- name: "Modules" | ||
color: FBCA04 | ||
|
||
- name: "GitHub Actions" | ||
color: 84b6eb | ||
|
||
- name: "Scripts" | ||
color: 3B8924 | ||
|
||
- name: "Tests" | ||
color: ff8c00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# This workflow is based on github action official label action v4. | ||
# This workflow action is triggered on pull request event(on both fork & inside repo) | ||
# Labels will be applied based on filepath modification in PR. | ||
# This workflow uses a regex based labeling config file(.github/labeler.yml) to take labeling decision. | ||
|
||
name: "PR Labeler" | ||
on: | ||
- pull_request_target | ||
jobs: | ||
label: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/labeler@v4 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
configuration-path: ".github/labeler.yml" | ||
sync-labels: false | ||
dot: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
run: echo '${{ steps.file_changes.outputs.files_modified }}' | ||
- name: work around https://github.com/actions/checkout/issues/766 | ||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
set-safe-directory: false | ||
- uses: r-lib/actions/pr-fetch@master | ||
|
@@ -51,7 +51,7 @@ jobs: | |
steps: | ||
- name: work around https://github.com/actions/checkout/issues/766 | ||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
set-safe-directory: false | ||
- uses: r-lib/actions/pr-fetch@v1 | ||
|
@@ -62,7 +62,8 @@ jobs: | |
- name: install any new dependencies | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
run: Rscript docker/depends/pecan.depends.R | ||
working-directory: docker/depends | ||
run: Rscript pecan.depends.R | ||
- id: file_changes | ||
uses: trilom/[email protected] | ||
- name : make | ||
|
@@ -82,7 +83,7 @@ jobs: | |
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "PEcAn stylebot" | ||
git add \*.Rd \*NAMESPACE Makefile.depends docker/depends/pecan.depends.R | ||
git add \*.Rd \*NAMESPACE Makefile.depends docker/depends/pecan_package_dependencies.R docker/depends/pecan_deps_from_github.txt | ||
if [ "$(git diff --name-only --cached)" != "" ]; then git commit -m 'automated documentation update' ; fi | ||
- uses: r-lib/actions/pr-push@master | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -153,7 +153,8 @@ clean: | |
+ ./scripts/time.sh "roxygen2 ${1}" Rscript -e ${SETROPTIONS} \ | ||
-e "if (!requireNamespace('roxygen2', quietly = TRUE)" \ | ||
-e " || packageVersion('roxygen2') != '7.2.3') {" \ | ||
-e " devtools::install_github('r-lib/[email protected]')" \ | ||
-e " cran <- c(getOption('repos'), 'cloud.r-project.org')" \ | ||
-e " remotes::install_version('roxygen2', '7.2.3', repos = cran, upgrade = FALSE)" \ | ||
-e "}" | ||
$(eval INSTALLED_ROXYGEN_VERSION := 7.2.3) | ||
echo `date` > $@ | ||
|
Oops, something went wrong.