Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.69 KB

File metadata and controls

56 lines (40 loc) · 1.69 KB

Dependabot Auto Merge for YassLab team

YassLab チーム用の Dependabot カスタムアクションです。

» デフォルト設定を見る
» レビュー利用例を見る
» 関連リポジトリを見る


Example Usage

.github/workflows/dependabot.yml
name: 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.