Skip to content

Commit

Permalink
Merge pull request #7579 from ampproject/add/groups-dependabot-config
Browse files Browse the repository at this point in the history
Update dependabot config to group `@wordpress/*` package updates
  • Loading branch information
westonruter authored Jul 11, 2023
2 parents d7a6af8 + 3386b9b commit a371c0e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 193 deletions.
11 changes: 6 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ updates:
time: "17:00"
timezone: America/Los_Angeles
open-pull-requests-limit: 10
groups:
wordpress-packages:
patterns:
- "@wordpress/*"
ignore:
# Cannot upgrade until @wordpress/element supports react v17.
# Need to be updated based on `@wordpress/element` react peer dependency version.
- dependency-name: react
versions:
- ">= 17"
# Updates are handled via the `gutenberg-packages-update` GHA workflow.
- dependency-name: "@wordpress/*"
- dependency-name: react-dom

# Config for GitHub Actions.
- package-ecosystem: github-actions
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/build-test-measure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,19 @@ jobs:
- name: Get composer-normalize.phar
run: |
wget https://github.com/ergebnis/composer-normalize/releases/latest/download/composer-normalize.phar
# Check if phar is actually downloaded.
if [ ! -f composer-normalize.phar ]; then
sleep 5
wget https://github.com/ergebnis/composer-normalize/releases/latest/download/composer-normalize.phar
fi
# If not downloaded, exit with error this time.
if [ ! -f composer-normalize.phar ]; then
echo "::error::Failed to download composer-normalize.phar"
exit 1
fi
chmod +x composer-normalize.phar
- name: Validate composer.json
Expand Down
188 changes: 0 additions & 188 deletions .github/workflows/gutenberg-packages-update.yml

This file was deleted.

0 comments on commit a371c0e

Please sign in to comment.