Skip to content

yasslab/dependabot_auto_merge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Customized Dependabot Share Action for YassLab team to merge automatically.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published