Compare commits
2
Commits
11bf89c758
...
607d80bbf4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
607d80bbf4 | ||
|
|
4f55dc864f |
No files matched your search
@@ -1,24 +1,17 @@
|
|||||||
name: dependabot-auto-merge
|
name: Dependabot Auto-Merge
|
||||||
|
on: pull_request
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- master
|
|
||||||
|
|
||||||
# Auto-merge Dependabot PRs with passing CI
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dependabot:
|
auto-merge:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# Only for Dependabot PRs
|
|
||||||
if: github.actor == 'dependabot[bot]'
|
if: github.actor == 'dependabot[bot]'
|
||||||
steps:
|
steps:
|
||||||
- name: Auto-merge
|
- name: Enable auto-merge for Dependabot PR
|
||||||
run: gh pr merge --auto --merge "$PR_NUMBER"
|
run: gh pr merge --auto --merge "$PR_URL"
|
||||||
env:
|
env:
|
||||||
PR_NUMBER: ${{ github.event.number }}
|
PR_URL: ${{ github.event.pull_request.html_url }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -4,20 +4,7 @@ updates:
|
|||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "daily"
|
||||||
day: "monday"
|
|
||||||
time: "05:00"
|
|
||||||
timezone: "Asia/Makassar"
|
|
||||||
open-pull-requests-limit: 10
|
open-pull-requests-limit: 10
|
||||||
assignees:
|
|
||||||
- "asepharyana"
|
|
||||||
commit-message:
|
|
||||||
prefix: "chore"
|
|
||||||
prefix-development: "chore"
|
|
||||||
include: "scope"
|
|
||||||
reviewers:
|
|
||||||
- "asepharyana"
|
|
||||||
labels:
|
|
||||||
- "dependencies"
|
|
||||||
groups:
|
groups:
|
||||||
production:
|
production:
|
||||||
dependency-type: "production"
|
dependency-type: "production"
|
||||||
|
|||||||
Reference in new issue
Block a user