Skip to content

Commit 8ef0eda

Browse files
committed
CF-15869: Add Dependabot merge and approve workflows
1 parent fda1e64 commit 8ef0eda

2 files changed

Lines changed: 42 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Dependabot Approve
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize]
6+
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
11+
jobs:
12+
auto-approve:
13+
name: Approve PR
14+
uses: getyourguide/actions/.github/workflows/dependabot-approve.yml@main
15+
with:
16+
targets: patch:all,minor:all
17+
pr-url: ${{ github.event.pull_request.html_url }}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Dependabot Merge
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "0 9 * * Mon"
7+
8+
permissions:
9+
contents: read
10+
pull-requests: write
11+
id-token: write
12+
checks: write
13+
14+
concurrency:
15+
group: ${{ github.workflow }}${{ github.ref_name != github.event.repository.default_branch && github.ref || github.run_id }}
16+
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }}
17+
18+
jobs:
19+
auto-merge:
20+
name: Auto merge
21+
uses: getyourguide/actions/.github/workflows/dependabot-merge.yml@main
22+
with:
23+
slack_channel: "#sec-dependabot-automerge"
24+
slack_ping_support: false
25+
secrets: inherit

0 commit comments

Comments
 (0)