Skip to content

Commit aa94020

Browse files
authored
Merge pull request #7 from paketo-buildpacks/automation/github-config/update
Updates github-config
2 parents 3586ba0 + 3646575 commit aa94020

13 files changed

Lines changed: 53 additions & 40 deletions

.github/dependabot.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
1-
# To get started with Dependabot version updates, you'll need to specify which
2-
# package ecosystems to update and where the package manifests are located.
3-
# Please see the documentation for all configuration options:
4-
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5-
61
---
72
version: 2
83
updates:
94
- package-ecosystem: gomod
105
directory: "/"
116
schedule:
127
interval: daily
13-
open-pull-requests-limit: 10
8+
allow:
9+
# Allow both direct and indirect updates for all packages
10+
- dependency-type: "all"
11+
# group all minor and patch dependency updates together
12+
groups:
13+
go-modules:
14+
patterns:
15+
- "*"
16+
update-types:
17+
- "minor"
18+
- "patch"

.github/workflows/approve-bot-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252

5353
- name: Checkout
5454
if: steps.human-commits.outputs.human_commits == 'false' && steps.unverified-commits.outputs.unverified_commits == 'false'
55-
uses: actions/checkout@v5
55+
uses: actions/checkout@v6
5656

5757
- name: Approve
5858
if: steps.human-commits.outputs.human_commits == 'false' && steps.unverified-commits.outputs.unverified_commits == 'false'

.github/workflows/create-release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
combos: ${{ steps.get_combos.outputs.combos }}
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v5
22+
uses: actions/checkout@v6
2323

2424
- name: Get Builders
2525
id: get-builders
@@ -88,7 +88,7 @@ jobs:
8888
builders_changed: ${{ steps.compare_previous_release.outputs.builders_changed }}
8989
steps:
9090
- name: Checkout
91-
uses: actions/checkout@v5
91+
uses: actions/checkout@v6
9292
with:
9393
fetch-depth: 0 # gets full history
9494

@@ -122,7 +122,7 @@ jobs:
122122

123123
steps:
124124
- name: Checkout
125-
uses: actions/checkout@v5
125+
uses: actions/checkout@v6
126126

127127
- name: Setup Go
128128
uses: actions/setup-go@v6
@@ -148,7 +148,7 @@ jobs:
148148
builder_info: ${{ steps.notes.outputs.body }}
149149
steps:
150150
- name: Checkout
151-
uses: actions/checkout@v5
151+
uses: actions/checkout@v6
152152

153153
- name: Setup Go
154154
uses: actions/setup-go@v6
@@ -181,7 +181,7 @@ jobs:
181181
| grep -v 'Warning' > "${{ matrix.builders.name }}-info.md"
182182
183183
- name: Upload info for ${{ matrix.builders.name }}
184-
uses: actions/upload-artifact@v4
184+
uses: actions/upload-artifact@v6
185185
with:
186186
name: "${{ matrix.builders.name }}-info.md"
187187
path: "${{ matrix.builders.name }}-info.md"
@@ -192,12 +192,12 @@ jobs:
192192
needs: [preparation, get_builders_info]
193193
steps:
194194
- name: Checkout With History
195-
uses: actions/checkout@v5
195+
uses: actions/checkout@v6
196196
with:
197197
fetch-depth: 0 # gets full history
198198

199199
- name: Download Release Note File(s)
200-
uses: actions/download-artifact@v4
200+
uses: actions/download-artifact@v6
201201
with:
202202
path: info
203203
pattern: "*info.md"

.github/workflows/lint-yaml.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
lintYaml:
1111
runs-on: ubuntu-24.04
1212
steps:
13-
- uses: actions/checkout@v5
13+
- uses: actions/checkout@v6
1414

1515
- name: Checkout github-config
16-
uses: actions/checkout@v5
16+
uses: actions/checkout@v6
1717
with:
1818
repository: paketo-buildpacks/github-config
1919
path: github-config

.github/workflows/push-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
tag: ${{ steps.event.outputs.tag }}
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v5
20+
uses: actions/checkout@v6
2121

2222
- name: Get Builders
2323
id: get-builders
@@ -65,7 +65,7 @@ jobs:
6565
steps:
6666

6767
- name: Checkout
68-
uses: actions/checkout@v5
68+
uses: actions/checkout@v6
6969

7070
- name: Create Builder Image and Push To Dockerhub
7171
env:

.github/workflows/synchronize-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on:
1313
- ubuntu-24.04
1414
steps:
15-
- uses: actions/checkout@v5
15+
- uses: actions/checkout@v6
1616
- uses: micnncim/action-label-syncer@v1
1717
env:
1818
GITHUB_TOKEN: ${{ github.token }}

.github/workflows/test-builder.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
combos: ${{ steps.get_combos.outputs.combos }}
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v5
17+
uses: actions/checkout@v6
1818

1919
- name: Get Combos
2020
id: get_combos
@@ -71,7 +71,7 @@ jobs:
7171

7272
steps:
7373
- name: Checkout
74-
uses: actions/checkout@v5
74+
uses: actions/checkout@v6
7575

7676
- name: Setup Go
7777
uses: actions/setup-go@v6

.github/workflows/test-pull-request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
combos: ${{ steps.get_combos.outputs.combos }}
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v5
18+
uses: actions/checkout@v6
1919

2020
- name: Get Combos
2121
id: get_combos
@@ -72,7 +72,7 @@ jobs:
7272

7373
steps:
7474
- name: Checkout
75-
uses: actions/checkout@v5
75+
uses: actions/checkout@v6
7676

7777
- name: Setup Go
7878
uses: actions/setup-go@v6
@@ -103,7 +103,7 @@ jobs:
103103
runs-on: ubuntu-24.04
104104
steps:
105105
- name: Upload Artifact
106-
uses: actions/upload-artifact@v4
106+
uses: actions/upload-artifact@v6
107107
with:
108108
name: event-payload
109109
path: ${{ github.event_path }}

.github/workflows/update-builder-toml.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Update builder.toml files and Send Pull Request
22

33
on:
44
schedule:
5-
- cron: '36 0,12 * * *' # daily at 00:36 and 12:36 UTC
5+
- cron: '27 2,14 * * *' # daily at 02:27 and 14:27 UTC
66
workflow_dispatch: {}
77

88
concurrency: builder_update
@@ -18,7 +18,7 @@ jobs:
1818
builders: ${{ steps.get-builders.outputs.builders }}
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v5
21+
uses: actions/checkout@v6
2222

2323
- name: Get Builders
2424
id: get-builders
@@ -58,12 +58,13 @@ jobs:
5858
commit_sha: ${{ steps.commit.outputs.commit_sha }}
5959
needs: preparation
6060
strategy:
61+
max-parallel: 1
6162
matrix:
6263
builders: ${{ fromJSON(needs.preparation.outputs.builders) }}
6364

6465
steps:
6566
- name: Check out
66-
uses: actions/checkout@v5
67+
uses: actions/checkout@v6
6768

6869
- name: Checkout branch
6970
uses: paketo-buildpacks/github-config/actions/pull-request/checkout-branch@main
@@ -92,18 +93,24 @@ jobs:
9293
branch: "automation/builder-toml-update"
9394

9495
- name: Output commit sha
96+
if: ${{ steps.commit.outputs.commit_sha != '' }}
9597
run: echo "commit_sha=${{ steps.commit.outputs.commit_sha }}" >> "$GITHUB_OUTPUT"
9698

9799
open-pull-request:
98100
name: Open pull request
99101
runs-on: ubuntu-24.04
100102
needs: update
103+
if: ${{ needs.update.outputs.commit_sha != '' }}
101104
steps:
102-
- name: Checkout
103-
uses: actions/checkout@v5
105+
- name: Check out
106+
uses: actions/checkout@v6
107+
108+
- name: Checkout branch
109+
uses: paketo-buildpacks/github-config/actions/pull-request/checkout-branch@main
110+
with:
111+
branch: "automation/builder-toml-update"
104112

105113
- name: Open Pull Request
106-
if: ${{ needs.update.outputs.commit_sha != '' }}
107114
uses: paketo-buildpacks/github-config/actions/pull-request/open@main
108115
with:
109116
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}

.github/workflows/update-github-config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Update shared github-config
22

33
on:
44
schedule:
5-
- cron: '47 8 * * *' # daily at 08:46 UTC
5+
- cron: '47 8 * * *' # daily at 08:46 UTC
66
workflow_dispatch: {}
77

88
concurrency: github_config_update
@@ -14,12 +14,12 @@ jobs:
1414
steps:
1515

1616
- name: Checkout
17-
uses: actions/checkout@v5
17+
uses: actions/checkout@v6
1818
with:
1919
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
2020

2121
- name: Checkout github-config
22-
uses: actions/checkout@v5
22+
uses: actions/checkout@v6
2323
with:
2424
repository: paketo-buildpacks/github-config
2525
path: github-config

0 commit comments

Comments
 (0)