Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 27 additions & 35 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,57 +1,49 @@
version: 2
updates:
- package-ecosystem: 'github-actions'
directory: /
schedule:
interval: daily
labels:
- 'no-changelog'
cooldown:
default-days: 7

- package-ecosystem: 'github-actions'
directory: .github/actions/build-vsix
multi-ecosystem-groups:
dependencies:
schedule:
interval: daily
labels:
- 'no-changelog'
cooldown:
default-days: 7
open-pull-requests-limit: 1

updates:
- package-ecosystem: 'github-actions'
directory: .github/actions/lint
schedule:
interval: daily
directories:
- /
- /.github/actions/build-vsix
- /.github/actions/lint
- /.github/actions/smoke-tests
patterns: ['*']
multi-ecosystem-group: dependencies
labels:
- 'dependencies'
- 'no-changelog'
cooldown:
default-days: 7

- package-ecosystem: 'github-actions'
directory: .github/actions/smoke-test
schedule:
interval: daily
- package-ecosystem: 'npm'
directories:
- /
- /pythonExtensionApi
patterns: ['*']
multi-ecosystem-group: dependencies
labels:
- 'dependencies'
- 'no-changelog'
cooldown:
default-days: 7
- 'skip package*.json'

# Not skipping the news for some Python dependencies in case it's actually useful to communicate to users.
- package-ecosystem: 'pip'
directory: /
schedule:
interval: daily
directories:
- /
- /build
- /python_files/jedilsp_requirements
patterns: ['*']
multi-ecosystem-group: dependencies
ignore:
- dependency-name: prospector # Due to Python 2.7 and #14477.
- dependency-name: pytest # Due to Python 2.7 and #13776.
- dependency-name: py # Due to Python 2.7.
- dependency-name: jedi-language-server
labels:
- 'dependencies'
- 'no-changelog'
# Activate when we feel ready to keep up with frequency.
# - package-ecosystem: 'npm'
# directory: /
# schedule:
# interval: daily
# default_labels:
# - "no-changelog"
20 changes: 20 additions & 0 deletions .github/workflows/dependabot-auto-approve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Dependabot auto-approve

on:
pull_request_target:
types: [opened, reopened, synchronize, ready_for_review]

permissions:
pull-requests: write

jobs:
approve:
if: github.event.pull_request.user.login == 'dependabot[bot]' && !github.event.pull_request.draft
runs-on: ubuntu-latest
steps:
- name: Approve Dependabot PR
run: gh pr review "$PR_NUMBER" --approve --repo "$GH_REPO"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}
Loading