Skip to content

Commit b69c21d

Browse files
committed
MESH-2092 Add workflow for combining dependabot prs
1 parent f12c042 commit b69c21d

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Combine Dependabot PRs
2+
3+
on:
4+
workflow_dispatch: # allows you to manually trigger the workflow
5+
inputs:
6+
ci_required:
7+
type: choice
8+
description: Require a successful build before branches are included
9+
options:
10+
- 'YES'
11+
- 'NO'
12+
required: false
13+
default: 'YES'
14+
15+
# The minimum permissions required to run this Action
16+
permissions:
17+
contents: write
18+
pull-requests: write
19+
checks: read
20+
21+
jobs:
22+
combine-prs:
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- name: combine-prs
27+
id: combine-prs
28+
uses: github/[email protected]
29+
with:
30+
ci_required: ${{ inputs.ci_required == 'YES' }}
31+
labels: dependencies
32+
pr_title: MESH-2092 Combined Dependabot PRs
33+
combine_branch_name: mesh-2092-dependabot-combined
34+
pr_body_header: Combined Dependabot PRs

0 commit comments

Comments
 (0)