Skip to content

Commit 99ec8f6

Browse files
authored
only one PR for GitHub actions updates (#179)
1 parent a9a8092 commit 99ec8f6

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
@@ -101,4 +101,7 @@ makedocs(modules = [PositiveIntegrators, Base.get_extension(PositiveIntegrators,
101101

102102
deploydocs(repo = "github.com/NumericalMathematics/PositiveIntegrators.jl",
103103
devbranch = "main",
104-
push_preview = true)
104+
# Only push previews if all the relevant environment variables are non-empty.
105+
push_preview = all(!isempty,
106+
(get(ENV, "GITHUB_TOKEN", ""),
107+
get(ENV, "DOCUMENTER_KEY", ""))))

0 commit comments

Comments
 (0)