Skip to content
Merged
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
34 changes: 34 additions & 0 deletions .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Dependabot compatible merge
on:
workflow_run:
workflows: ["OSS policy", "Product workspace CI"]
types: [completed]
workflow_dispatch:
inputs:
number:
description: Dependabot PR number to evaluate
required: true
type: string
permissions:
contents: read
concurrency:
group: dependency-merge-${{ github.event.workflow_run.head_branch || github.event.inputs.number || github.run_id }}
cancel-in-progress: false
jobs:
merge:
if: >-
vars.DEPENDABOT_AUTOMERGE_ENABLED == 'true' &&
(github.event_name == 'workflow_dispatch' ||
(github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'))
runs-on: ubuntu-24.04
timeout-minutes: 5
permissions:
contents: write
pull-requests: write
checks: read
statuses: read
actions: read
steps:
- uses: zixcel/zixcel-repository-security/.github/actions/dependabot-merge@880b291dbb29a49bdafe5ae3305a47c978280550
with:
pull-request-number: ${{ github.event.inputs.number || '' }}
Loading