Skip to content

feat(4266): universal dependabot pr #1

feat(4266): universal dependabot pr

feat(4266): universal dependabot pr #1

on:
push:
branches:
- master
- dependabot-updates # Add Dependabot updates branch
tags:
- "*"
pull_request:
jobs:
dependabot-auto-merge:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/dependabot-updates'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
python -m pip install -r requirements.txt
- name: Run tests
run: pytest
- name: Auto-merge into integration branch
if: success()
run: |
git config user.name "devops-automation[bot]"
git config user.email "[email protected]"
git checkout -b dependabot-integration
git merge --no-ff dependabot-updates -m "Auto-merge Dependabot updates"
git push origin dependabot-integration