GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Group Dependabot updates and add auto-merge workflow · proxymesh/python-proxy-headers@3599590

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github
    • dependabot.yml
    • workflows
      • dependabot-auto-merge.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/dependabot.yml‎

Copy file name to clipboard
+24-7Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,34 @@
1-
#
2-
# To get started with Dependabot version updates, you'll need to specify which
3-
# package ecosystems to update and where the package manifests are located.
4-
# Please see the documentation for all configuration options:
5-
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
6-
#
7-
81
version: 2
92
updates:
103
- package-ecosystem: "pip"
114
directory: "/"
125
schedule:
136
interval: "weekly"
7+
day: "monday"
8+
open-pull-requests-limit: 5
9+
cooldown:
10+
default-days: 3
11+
labels:
12+
- "dependencies"
13+
- "automerge"
14+
groups:
15+
prod-minor-patch:
16+
dependency-type: "production"
17+
update-types:
18+
- "minor"
19+
- "patch"
20+
dev-all:
21+
dependency-type: "development"
22+
update-types:
23+
- "minor"
24+
- "patch"
25+
- "major"
1426
- package-ecosystem: "github-actions"
1527
directory: "/"
1628
schedule:
1729
interval: "weekly"
30+
day: "monday"
31+
groups:
32+
actions:
33+
patterns:
34+
- "*"
Collapse file

‎.github/workflows/dependabot-auto-merge.yml‎

Copy file name to clipboard
+18Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: dependabot-auto-merge
2+
on:
3+
pull_request_target
4+
permissions:
5+
contents: write
6+
pull-requests: write
7+
jobs:
8+
automerge:
9+
if: github.actor == 'dependabot[bot]'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: dependabot/fetch-metadata@v2
13+
id: meta
14+
- if: steps.meta.outputs.update-type != 'version-update:semver-major'
15+
run: gh pr merge --auto --squash "$PR"
16+
env:
17+
PR: ${{ github.event.pull_request.html_url }}
18+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.