Skip to content

Commit 417c8f2

Browse files
authored
feat: Add Dependabot auto-merge workflow (#287)
This PR adds a GitHub workflow to automatically manage Dependabot pull requests. This workflow uses the `ad/dependabot-auto-approve@v1` GitHub Action, which may need to be explicitly whitelisted in the organization's settings.
2 parents 347f4e1 + a7c8523 commit 417c8f2

3 files changed

Lines changed: 21 additions & 1 deletion

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Dependabot Auto Manage
2+
on: pull_request
3+
4+
permissions:
5+
contents: write
6+
pull-requests: write
7+
8+
jobs:
9+
dependabot:
10+
runs-on: ubuntu-latest
11+
if: github.actor == 'dependabot[bot]'
12+
steps:
13+
- uses: ad/dependabot-auto-approve@d60f853230db2bb07168b39c180c5dd034b63f28
14+
with:
15+
dependency-type: 'all'
16+
auto-merge: 'true'
17+
add-label: 'auto-merged'
18+
merge-method: 'merge'
19+
ignore-regex-pr-title: '.*grpc.*,.*protobuf.*'

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ plugins:
102102
options:
103103
paths: ["py"]
104104
docstring_section_style: spacy
105+
docstring_options:
106+
warn_missing_types: false
105107
inherited_members: true
106108
merge_init_into_class: false
107109
separate_signature: true

proto/frequenz/api/dispatch/v1/dispatch.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ syntax = "proto3";
1212

1313
package frequenz.api.dispatch.v1;
1414

15-
import "google/protobuf/empty.proto";
1615
import "google/protobuf/field_mask.proto";
1716
import "google/protobuf/struct.proto";
1817
import "google/protobuf/timestamp.proto";

0 commit comments

Comments
 (0)