Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependabot config to group @wordpress/* package updates #7579

Merged
merged 5 commits into from
Jul 11, 2023

Conversation

thelovekesh
Copy link
Collaborator

@thelovekesh thelovekesh commented Jul 10, 2023

Summary

  • Remove the Gutenberg packages update workflow in favor of @dependabot dependency updates grouping.

Fixes #7576

Checklist

  • My code is tested and passes existing tests.
  • My code follows the Engineering Guidelines (updates are often made to the guidelines, check it out periodically).

@github-actions
Copy link
Contributor

github-actions bot commented Jul 10, 2023

Plugin builds for 3386b9b are ready 🛎️!

@thelovekesh
Copy link
Collaborator Author

Normalize composer issue is fixed in #7580.

@westonruter westonruter added this to the v2.4.2 milestone Jul 10, 2023
- ">= 17"
# Updates are handled via the `gutenberg-packages-update` GHA workflow.
- dependency-name: "@wordpress/*"
- dependency-name: react-dom
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How did you realize you needed to add react-dom?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since @wordpress/element is an abstraction on both and need to match its peer deps version, I think it would be better to add both.

Comment on lines +180 to +190
# 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was the file failing to download?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup on my local once among many attempts. So added this safeguard.

@westonruter westonruter merged commit a371c0e into develop Jul 11, 2023
@westonruter westonruter deleted the add/groups-dependabot-config branch July 11, 2023 16:41
@thelovekesh thelovekesh added Bug Something isn't working Enhancement New feature or improvement of an existing one P2 Low priority Reader Mode WS:Core Work stream for Plugin core and removed Bug Something isn't working Enhancement New feature or improvement of an existing one P2 Low priority Reader Mode WS:Core Work stream for Plugin core labels Jul 13, 2023
@westonruter westonruter added the Changelogged Whether the issue/PR has been added to release notes. label Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelogged Whether the issue/PR has been added to release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Eliminate gutenberg-packages-update workflow in favor of native Dependabot grouping
2 participants