https://github.com/yasslab/dependabot_auto_merge
Customized Dependabot Share Action for YassLab team to merge automatically.
https://github.com/yasslab/dependabot_auto_merge
actions yaml yasslab
Last synced: about 1 month ago
JSON representation
Customized Dependabot Share Action for YassLab team to merge automatically.
- Host: GitHub
- URL: https://github.com/yasslab/dependabot_auto_merge
- Owner: yasslab
- License: mit
- Created: 2025-08-02T10:37:37.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-02T13:15:04.000Z (11 months ago)
- Last Synced: 2025-08-02T13:32:09.276Z (11 months ago)
- Topics: actions, yaml, yasslab
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dependabot Auto Merge for YassLab team
YassLab チーム用の Dependabot カスタムアクションです。
[» デフォルト設定を見る](https://github.com/yasslab/dependabot_auto_merge/blob/main/action.yml)
[» レビュー利用例を見る](https://github.com/yasslab/yasslab.jp/blob/main/.github/workflows/dependabot.yml)
[» 関連リポジトリを見る](https://github.com/yasslab/claude_review_action)
## Example Usage
```bash
.github/workflows/dependabot.yml
```
```yaml
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](https://github.com/yasslab).