Skip to content

Commit

Permalink
Add dependabot github-actions group (flutter/engine#56468)
Browse files Browse the repository at this point in the history
`.github/dependabot.yml` configures dependabot to update the `uses` dependencies needed to run github actions.  

For example, dependabot opened flutter/engine#56191 and updated all the `.github/workflows/` yaml files to point to the latest version of `actions/checkout`

Add a dependabot `group` so all github action dependencies are updated in the same PR, instead of one-per-dependency.  For example, if there were an update for `actions/checkout` and `actions/setup-python`, dependabot will send out one PR updating both instead of one PR per dependency.
https://github.com/flutter/engine/blob/0d965cb949f105aafc3d3ba20f71e38e170355d0/.github/workflows/third_party_scan.yml#L23-L28

New PRs from dependenabot will look like:
__________

<img width="400" alt="Screenshot 2024-11-08 at 11 08 52�AM" src="https://github.com/user-attachments/assets/eebedf69-3fae-409b-9c88-c3afc8036c52">

__________

See also flutter/packages#8044 and flutter#158408

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
  • Loading branch information
jmagman authored Nov 11, 2024
1 parent 0d965cb commit 67eb4ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engine/src/flutter/.github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@ updates:
timezone: "America/Los_Angeles"
labels:
- "autosubmit"
groups:
all-github-actions:
patterns: [ "*" ]
ignore:
# ignore patch versions, just rely on minor in order to update fewer times
- dependency-name: "github/codeql-action"
update-types: ["version-update:semver-minor"]

- package-ecosystem: "pub"
directory: "/lib/web_ui"
schedule:
Expand Down

0 comments on commit 67eb4ae

Please sign in to comment.