Auto Merge Dependabot PRs #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto Merge Dependabot PRs | |
on: | |
schedule: | |
- cron: "*/5 * * * *" # every 5 minutes | |
# pull_request: | |
# types: | |
# - opened | |
# - synchronize | |
# - reopened | |
jobs: | |
auto-merge: | |
name: Auto-merge dependabot PRs | |
runs-on: ubuntu-latest | |
if: github.actor == 'dependabot[bot]' | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Auto-merge PR if it bumps the clap dependency | |
uses: pascalgn/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.CI_TOKEN }} | |
with: | |
MERGE_METHOD: "squash" | |
LOG: "TRACE" |