Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/dependabot-approve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Dependabot Approve

on:
pull_request:
types: [opened, synchronize]

permissions:
contents: read
pull-requests: write

jobs:
auto-approve:
name: Approve PR
uses: getyourguide/actions/.github/workflows/dependabot-approve.yml@main
with:
targets: patch:all,minor:all
pr-url: ${{ github.event.pull_request.html_url }}
35 changes: 35 additions & 0 deletions .github/workflows/dependabot-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Dependabot Merge

on:
workflow_dispatch:
inputs:
notify_only_merged:
description: "Notify only merged and SEC PRs"
type: boolean
default: true
required: false

schedule:
# Daily: merge PRs and report only merged (no notifications to support)
- cron: "0 8 * * Mon-Fri"
# Weekly: notify blocked PRs to support (Mondays only)
- cron: "0 9 * * Mon"

permissions:
contents: read
pull-requests: write
id-token: write
checks: write

concurrency:
group: ${{ github.workflow }}${{ github.ref_name != github.event.repository.default_branch && github.ref || github.run_id }}
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }}

jobs:
auto-merge:
name: Auto merge
uses: getyourguide/actions/.github/workflows/dependabot-merge.yml@main
with:
slack_ping_support: true
hide_report_sections: ${{ (github.event.schedule == '0 8 * * Mon-Fri' || (github.event_name == 'workflow_dispatch' && inputs.notify_only_merged)) && 'blocked,pending-approval' || '' }}
secrets: inherit
Loading