Skip to content

Commit

Permalink
[TASK] Enable dependabot for all supported branches: YAML aliases are…
Browse files Browse the repository at this point in the history
… not supported

Dependabot couldn't parse the config file at .github/dependabot.yml. The error raised was:

```
YAML aliases are not supported
```

See: dependabot/dependabot-core#1582

Fixes: TYPO3-Solr#3168
  • Loading branch information
dkd-kaehm committed Jul 29, 2024
1 parent 2f2318a commit 34faebf
Showing 1 changed file with 34 additions and 7 deletions.
41 changes: 34 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2
updates:
- &composer-solarium
-
package-ecosystem: "composer"
directory: "/"
schedule:
Expand All @@ -10,7 +10,7 @@ updates:
target-branch: "main"
commit-message:
prefix: "[TASK] 13.0.x-dev "
- &docker-apache-solr
-
package-ecosystem: "docker"
directory: "/Docker/SolrServer"
schedule:
Expand All @@ -20,28 +20,55 @@ updates:
prefix: "[TASK] 13.0.x-dev "

# For release-12.0.x
- <<: *composer-solarium
-
package-ecosystem: "composer"
directory: "/"
schedule:
interval: "daily"
allow:
- dependency-name: "solarium/solarium"
target-branch: "release-12.0.x"
commit-message:
prefix: "[TASK] 12.0.x-dev "
- <<: *docker-apache-solr
-
package-ecosystem: "docker"
directory: "/Docker/SolrServer"
schedule:
interval: "daily"
target-branch: "release-12.0.x"
commit-message:
prefix: "[TASK] 12.0.x-dev "

# For release-11.6.x
- <<: *composer-solarium
-
package-ecosystem: "composer"
directory: "/"
schedule:
interval: "daily"
allow:
- dependency-name: "solarium/solarium"
target-branch: "release-11.6.x"
commit-message:
prefix: "[TASK] 11.6.x-dev "
- <<: *docker-apache-solr
-
package-ecosystem: "docker"
directory: "/Docker/SolrServer"
schedule:
interval: "daily"

target-branch: "release-11.6.x"
commit-message:
prefix: "[TASK] 11.6.x-dev "

# For release-11.5.x
# Apache Solr multiple versions not supported, but for 11.6.x
- <<: *composer-solarium
-
package-ecosystem: "composer"
directory: "/"
schedule:
interval: "daily"
allow:
- dependency-name: "solarium/solarium"
target-branch: "release-11.5.x"
commit-message:
prefix: "[TASK] 11.5.x-dev "

0 comments on commit 34faebf

Please sign in to comment.