Skip to content

Commit 2350201

Browse files
committed
Auto-merge of dependabot PRs
- uses PR auto-merge feature (must be enabled on repo) - requires required status checks in branch protection (extra PR) - all actions configured as status checks must run unconditionally on a PR (i.e. no path restrictions)
1 parent ca623e3 commit 2350201

6 files changed

Lines changed: 15 additions & 25 deletions

File tree

.github/workflows/alioss-integration.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ name: Alioss Integration Tests
33
on:
44
workflow_dispatch:
55
pull_request:
6-
paths:
7-
- ".github/workflows/alioss-integration.yml"
8-
- "alioss/**"
9-
- "go.mod"
10-
- "go.sum"
116
push:
127
branches:
138
- main

.github/workflows/azurebs-integration.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ name: Azurebs Integration Tests
33
on:
44
workflow_dispatch:
55
pull_request:
6-
paths:
7-
- ".github/workflows/azurebs-integration.yml"
8-
- "azurebs/**"
9-
- "go.mod"
10-
- "go.sum"
116
push:
127
branches:
138
- main

.github/workflows/dav-integration.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ name: DAV Integration Tests
33
on:
44
workflow_dispatch:
55
pull_request:
6-
paths:
7-
- ".github/workflows/dav-integration.yml"
8-
- "dav/**"
9-
- "go.mod"
10-
- "go.sum"
116
push:
127
branches:
138
- main
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Dependabot auto-merge
2+
3+
on: pull_request
4+
5+
permissions:
6+
contents: write
7+
pull-requests: write
8+
9+
jobs:
10+
auto-merge:
11+
runs-on: ubuntu-latest
12+
if: ${{ github.actor == 'dependabot[bot]' }}
13+
steps:
14+
- name: Enable auto-merge
15+
run: gh pr merge --auto --rebase "${{ github.event.pull_request.number }}"

.github/workflows/gcs-integration.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ name: GCS Integration Tests
33
on:
44
workflow_dispatch:
55
pull_request:
6-
paths:
7-
- ".github/workflows/gcs-integration.yml"
8-
- "gcs/**"
9-
- "go.mod"
10-
- "go.sum"
116
push:
127
branches:
138
- "main"

.github/workflows/s3-integration.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ name: S3 Integration Tests
33
on:
44
workflow_dispatch:
55
pull_request:
6-
paths:
7-
- ".github/workflows/s3-integration.yml"
8-
- "s3/**"
9-
- "go.mod"
10-
- "go.sum"
116
push:
127
branches:
138
- main

0 commit comments

Comments
 (0)