GitHub Actions and Dependabot (#6164)

* GitHub Actions and Dependabot
fix https://github.com/FreshRSS/FreshRSS/issues/6163

* Also for npm
This commit is contained in:
Alexandre Alapetite authored and GitHub committed 2024-03-06 10:01:09 +01:00
1 parent 5aeab896e9
commit 3a4fd0d506
2 files changed
+27 -2

No files matched your search

+25
View File
@@ -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"
+2 -2
View File
@@ -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
key: ${{ runner.os }}-bin-shfmt@v3.7.0-hadolint@v2.12.0-typos@v1.17.0