From b756b035a05bd1a0b932faf094697f899c167a1e Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Sun, 12 Mar 2023 13:45:05 +0100 Subject: [PATCH 1/2] enable dependabot for GitHub actions This allows us to get updates for GitHub actions automatically. I have used this for my own packages as well as our [Trixi.jl framework](https://github.com/trixi-framework). After merging this, we should also enable other Dependabot actions in "Settings -> Code security and analysis -> Dependabot alerts" and "... -> Dependabot security updates". After merging this, Dependabot will prepare PRs with updates of the versions of GitHub actions we use such as. I think it would be nice to have this in all of SciML. To get the discussion started, I picked this repo since the CI tests are not very expensive. --- .github/workflows/dependabot.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/workflows/dependabot.yml diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml new file mode 100644 index 0000000..700707c --- /dev/null +++ b/.github/workflows/dependabot.yml @@ -0,0 +1,7 @@ +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" # Location of package manifests + schedule: + interval: "weekly" From 6a947429bfa168d7ed531373b9db21f9350db634 Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Sun, 12 Mar 2023 13:48:13 +0100 Subject: [PATCH 2/2] format --- docs/make.jl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/make.jl b/docs/make.jl index 267e8ad..c1a58e6 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -7,8 +7,10 @@ end using MuladdMacro -cp(joinpath(@__DIR__, "Manifest.toml"), joinpath(@__DIR__, "src/assets/Manifest.toml"); force = true) -cp(joinpath(@__DIR__, "Project.toml"), joinpath(@__DIR__, "src/assets/Project.toml"); force = true) +cp(joinpath(@__DIR__, "Manifest.toml"), joinpath(@__DIR__, "src/assets/Manifest.toml"); + force = true) +cp(joinpath(@__DIR__, "Project.toml"), joinpath(@__DIR__, "src/assets/Project.toml"); + force = true) makedocs(; modules = [MuladdMacro],