Skip to content

Commit 734c93b

Browse files
only one PR for GitHub actions updates (#2681)
* only one PR for GitHub actions updates * Ignore julia-downgrade-compat dependency updates * Update .github/dependabot.yml Co-authored-by: Joshua Lampert <[email protected]> --------- Co-authored-by: Joshua Lampert <[email protected]>
1 parent 26d8600 commit 734c93b

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,11 @@ updates:
55
directory: "/" # Location of package manifests
66
schedule:
77
interval: "monthly"
8+
groups:
9+
# Group all GitHub Actions PRs into a single PR:
10+
all-github-actions:
11+
patterns:
12+
- "*"
13+
ignore:
14+
- dependency-name: "julia-actions/julia-downgrade-compat"
15+
versions: [ ">=2.0.0" ]

docs/make.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,7 @@ makedocs(
182182
deploydocs(repo = "github.com/trixi-framework/Trixi.jl",
183183
deploy_repo = "github.com/trixi-framework/TrixiDocumentation",
184184
devbranch = "main",
185-
push_preview = true)
185+
# Only push previews if all the relevant environment variables are non-empty.
186+
push_preview = all(!isempty,
187+
(get(ENV, "GITHUB_TOKEN", ""),
188+
get(ENV, "DOCUMENTER_KEY", ""))))

0 commit comments

Comments
 (0)