Skip to content

Commit

Permalink
enable dependabot for GitHub actions (#37)
Browse files Browse the repository at this point in the history
* 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.

* format
  • Loading branch information
ranocha authored Mar 12, 2023
1 parent 9764f55 commit ce5324b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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"
6 changes: 4 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit ce5324b

Please sign in to comment.