YassLab チーム用の Dependabot カスタムアクションです。
» デフォルト設定を見る
» レビュー利用例を見る
» 関連リポジトリを見る
.github/workflows/dependabot.ymlname: Auto-merge Dependabot PRs
on:
pull_request:
# Allows you to run this workflow manually from the Actions tab
# https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: yasslab/dependabot_auto_merge@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}- Settings → General → "Allow auto-merge" を有効化
| パラメータ | デフォルト | 説明 |
|---|---|---|
merge-level |
all |
自動マージする最大レベル (patch, minor, all) |
merge-method |
squash |
マージ方法 (merge, squash, rebase) |
exclude-gems |
rails,jekyll |
除外するRuby gem(カンマ区切り) |
wait-for-ci |
true |
CIが通るまで待機してマージ(最大60分) |
Copyright © YassLab.