Skip to content

Commit 20d0a8f

Browse files
authored
Revert "Use grouped version updates for Dependabot (#15920)" (#15932)
1 parent 128272a commit 20d0a8f

File tree

4 files changed

+44
-6
lines changed

4 files changed

+44
-6
lines changed

.github/dependabot.yml

-4
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ updates:
2828
# Keep both psycopg and psycopg-c together
2929
patterns:
3030
- "psycopg*"
31-
python-package:
32-
# Keep rest of package together
33-
patterns:
34-
- "*"
3531
- package-ecosystem: github-actions
3632
directory: "/"
3733
schedule:

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77
merge_group:
88
types: [checks_requested]
9-
workflow_dispatch:
9+
workflow_dispatch: # generally only for the "combine-prs" workflow
1010
permissions:
1111
id-token: write
1212
contents: read

.github/workflows/combine-prs.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Origin: https://github.com/marketplace/actions/combine-prs
2+
3+
name: 'Combine PRs'
4+
5+
# Controls when the action will run - in this case triggered manually
6+
on:
7+
workflow_dispatch:
8+
inputs:
9+
ignoreLabel:
10+
description: 'Exclude PRs with this label'
11+
required: true
12+
default: 'blocked'
13+
14+
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
15+
permissions:
16+
contents: write
17+
pull-requests: write
18+
checks: read
19+
actions: write
20+
21+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
22+
jobs:
23+
# This workflow contains a single job called "combine-prs"
24+
combine-prs:
25+
# The type of runner that the job will run on
26+
runs-on: ubuntu-latest
27+
28+
steps:
29+
- name: Use GitHub App Token
30+
uses: wow-actions/[email protected]
31+
id: generate_token
32+
with:
33+
app_id: ${{ secrets.COMBINE_PRS_APP_ID }}
34+
private_key: ${{ secrets.COMBINE_PRS_PRIVATE_KEY }}
35+
fallback: ${{ secrets.GITHUB_TOKEN }} # fall back to the default token if the app token is
36+
37+
- name: combine-prs
38+
id: combine-prs
39+
uses: github/[email protected]
40+
with:
41+
github_token: ${{ steps.generate_token.outputs.BOT_TOKEN }}
42+
ignore_label: ${{ github.event.inputs.ignoreLabel || 'blocked' }}

.github/workflows/node-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77
merge_group:
88
types: [checks_requested]
9-
workflow_dispatch:
9+
workflow_dispatch: # generally only for the "combine-prs" workflow
1010
permissions:
1111
contents: read
1212
concurrency:

0 commit comments

Comments
 (0)