Skip to content

A free, self-hostable news aggregator…

GitHub Actions and Dependabot (#6164)

Alexandre Alapetite3a4fd0d50620
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 000000000..e687493a4
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,25 @@
+# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
+
+version: 2
+updates:
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ interval: "monthly"
+ - package-ecosystem: "npm"
+ directory: "/"
+ schedule:
+ interval: "monthly"
+ groups:
+ production-dependencies:
+ dependency-type: "production"
+ development-dependencies:
+ dependency-type: "development"
+ - package-ecosystem: "composer"
+ directory: "/"
+ schedule:
+ interval: "monthly"
+ - package-ecosystem: "composer"
+ directory: "/lib/"
+ schedule:
+ interval: "monthly"
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index e36254d22..ac63d982b 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -29,7 +29,7 @@ jobs:
- name: Use Composer cache
id: composer-cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
@@ -79,7 +79,7 @@ jobs:
- name: Use shell cache
id: shell-cache
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: bin