From fb8500992f083df3e4a4ccbbe5cef6e2669fd729 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 7 May 2026 07:28:46 +0000 Subject: [PATCH 1/3] Mark WW_BEE_rehw and WW_BEE_wies as MAR galleries Add is_mar=yes to the Beelitzhof Rehwiese and Wiesenleitung galleries so they are correctly classified as GWA galleries alongside TEGsaat, TEGhzk, SPAkuh and SPAnord. https://claude.ai/code/session_017A2xdcLJE1vhuWAWM8DafL --- .../config/network_complete_mean-start-conc/flows_in_out.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inst/extdata/config/network_complete_mean-start-conc/flows_in_out.csv b/inst/extdata/config/network_complete_mean-start-conc/flows_in_out.csv index f62660a..bcb10fd 100644 --- a/inst/extdata/config/network_complete_mean-start-conc/flows_in_out.csv +++ b/inst/extdata/config/network_complete_mean-start-conc/flows_in_out.csv @@ -96,7 +96,7 @@ H08;WW_BEE_lind;Wasserwerk Beelitzhof Galerie Lindwerder;;;;;0,48;;out;abstracti H08;WW_BEE_grfe;Wasserwerk Beelitzhof Galerie Großes Fenster;;;;;0,57;;out;abstraction_WW; H09;ageb1_220;Regenabfluss in Großer Wannsee;0,204;1589892;212026;DWD_0433;;;in;rain_runoff; H09;ageb1_230;Regenabfluss in Kleine Wannseekette;0,209;1103741;148528;DWD_0433;;;in;rain_runoff; -H09;WW_BEE_rehw;Wasserwerk Beelitzhof Galerie Rehwiese;;;;;0,1;;out;abstraction_WW; +H09;WW_BEE_rehw;Wasserwerk Beelitzhof Galerie Rehwiese;;;;;0,1;yes;out;abstraction_WW; H09;WW_BEE_wann;Wasserwerk Beelitzhof Galerie Wannsee;;;;;0,6;;out;abstraction_WW; -H09;WW_BEE_wies;Wasserwerk Beelitzhof Galerie Wiesenleitung;;;;;0,5;;out;abstraction_WW; +H09;WW_BEE_wies;Wasserwerk Beelitzhof Galerie Wiesenleitung;;;;;0,5;yes;out;abstraction_WW; H09;WW_BEE_GWA;Wasserwerk Beelitzhof Galerie (GWA);;;;;1;;out;abstraction_WW; From d41bd5be4bef20ab0a6367c6bf785df2f2b6a3f9 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 7 May 2026 07:42:18 +0000 Subject: [PATCH 2/3] Add Claude Code GitHub workflows Mirror the Claude Code and Claude Code Review workflows from KWB-R/kwb.raindrop so PRs can be reviewed and @claude mentions in issues/PRs/comments are handled automatically. https://claude.ai/code/session_017A2xdcLJE1vhuWAWM8DafL --- .github/workflows/claude-code-review.yaml | 40 +++++++++++++++++++++++ .github/workflows/claude.yaml | 38 +++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 .github/workflows/claude-code-review.yaml create mode 100644 .github/workflows/claude.yaml diff --git a/.github/workflows/claude-code-review.yaml b/.github/workflows/claude-code-review.yaml new file mode 100644 index 0000000..10d2e3d --- /dev/null +++ b/.github/workflows/claude-code-review.yaml @@ -0,0 +1,40 @@ +name: Claude Code Review + +on: + pull_request: + types: [opened, synchronize] + +jobs: + claude-review: + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: read + issues: read + id-token: write + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 1 + + - name: Run Claude Code Review + id: claude-review + uses: anthropics/claude-code-action@v1 + with: + claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} + prompt: | + REPO: ${{ github.repository }} + PR NUMBER: ${{ github.event.pull_request.number }} + + Please review this pull request and think hard about correctness, + edge cases, and consistency with the rest of the codebase. Use the + repository's CLAUDE.md for guidance if available. + Focus on: + - Code quality and R package best practices + - Potential bugs or logic issues + - Test coverage + - Documentation (roxygen2) completeness + - Consistency with the existing codebase + claude_args: '--model claude-opus-4-7 --allowed-tools "mcp__github_inline_comment__create_inline_comment,Bash(gh issue view:*),Bash(gh search:*),Bash(gh issue list:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr list:*)"' diff --git a/.github/workflows/claude.yaml b/.github/workflows/claude.yaml new file mode 100644 index 0000000..49f70bf --- /dev/null +++ b/.github/workflows/claude.yaml @@ -0,0 +1,38 @@ +name: Claude Code + +on: + issue_comment: + types: [created] + pull_request_review_comment: + types: [created] + issues: + types: [opened, assigned] + pull_request_review: + types: [submitted] + +jobs: + claude: + if: | + (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) || + (github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) || + (github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) || + (github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude'))) + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: read + issues: read + id-token: write + actions: read + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 1 + + - name: Run Claude Code + id: claude + uses: anthropics/claude-code-action@v1 + with: + claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} + claude_args: '--model claude-opus-4-7' From dffb9bb5827d6376ced3876527a923d955531da4 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 7 May 2026 07:51:10 +0000 Subject: [PATCH 3/3] Update GitHub Actions to current major versions Bump actions/checkout from v2/v4 to v5 (Node.js 24 support), actions/upload-artifact from @main to a pinned v4 tag, and r-lib/actions/* from @master to @v2 across all workflows. This addresses the Node.js 20 deprecation warning that affects all actions still running on the older runner. https://claude.ai/code/session_017A2xdcLJE1vhuWAWM8DafL --- .github/workflows/R-CMD-check.yaml | 4 ++-- .github/workflows/claude-code-review.yaml | 2 +- .github/workflows/claude.yaml | 2 +- .github/workflows/pkgdown.yaml | 2 +- .github/workflows/pr-commands.yaml | 16 ++++++++-------- .github/workflows/test-coverage.yaml | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 082f7d3..0a6b237 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -34,7 +34,7 @@ jobs: RSPM: ${{ matrix.config.rspm }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 - uses: r-lib/actions/setup-r@v2 with: @@ -82,7 +82,7 @@ jobs: - name: Upload check results if: failure() - uses: actions/upload-artifact@main + uses: actions/upload-artifact@v4 with: name: ${{ runner.os }}-r${{ matrix.config.r }}-results path: check diff --git a/.github/workflows/claude-code-review.yaml b/.github/workflows/claude-code-review.yaml index 10d2e3d..9d02933 100644 --- a/.github/workflows/claude-code-review.yaml +++ b/.github/workflows/claude-code-review.yaml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 1 diff --git a/.github/workflows/claude.yaml b/.github/workflows/claude.yaml index 49f70bf..2da55d5 100644 --- a/.github/workflows/claude.yaml +++ b/.github/workflows/claude.yaml @@ -26,7 +26,7 @@ jobs: actions: read steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 1 diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index fee112e..f3f4307 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -14,7 +14,7 @@ jobs: CURL_SSL_BACKEND: "openssl" GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 - uses: r-lib/actions/setup-r@v2 with: diff --git a/.github/workflows/pr-commands.yaml b/.github/workflows/pr-commands.yaml index 0d3cb71..02066fc 100644 --- a/.github/workflows/pr-commands.yaml +++ b/.github/workflows/pr-commands.yaml @@ -10,11 +10,11 @@ jobs: env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v2 - - uses: r-lib/actions/pr-fetch@master + - uses: actions/checkout@v5 + - uses: r-lib/actions/pr-fetch@v2 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - - uses: r-lib/actions/setup-r@master + - uses: r-lib/actions/setup-r@v2 - name: Install dependencies run: Rscript -e 'install.packages(c("remotes", "roxygen2"))' -e 'remotes::install_deps(dependencies = TRUE)' - name: Document @@ -23,7 +23,7 @@ jobs: run: | git add man/\* NAMESPACE git commit -m 'Document' - - uses: r-lib/actions/pr-push@master + - uses: r-lib/actions/pr-push@v2 with: repo-token: ${{ secrets.GITHUB_TOKEN }} style: @@ -33,11 +33,11 @@ jobs: env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v2 - - uses: r-lib/actions/pr-fetch@master + - uses: actions/checkout@v5 + - uses: r-lib/actions/pr-fetch@v2 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - - uses: r-lib/actions/setup-r@master + - uses: r-lib/actions/setup-r@v2 - name: Install dependencies run: Rscript -e 'install.packages("styler")' - name: Style @@ -46,6 +46,6 @@ jobs: run: | git add \*.R git commit -m 'Style' - - uses: r-lib/actions/pr-push@master + - uses: r-lib/actions/pr-push@v2 with: repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index d3eaeac..8a1bcd5 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -16,7 +16,7 @@ jobs: env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 - uses: r-lib/actions/setup-r@v2