Skip to content

Commit ce5c728

Browse files
jmeridthzkoppert
andcommitted
chore: add dependabot and update github actions
Closes #1756 - [x] update github actions to latest versions - [x] use SHAs instead of tags for github actions, more secure supply chain - [x] add dependabot file grouping minor/patch dependency updates to reduce PRs Signed-off-by: jmeridth <[email protected]> Co-authored-by: Zack Koppert <[email protected]>
1 parent c15159b commit ce5c728

File tree

2 files changed

+43
-4
lines changed

2 files changed

+43
-4
lines changed

Diff for: .github/dependabot.yaml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
version: 2
3+
updates:
4+
- package-ecosystem: 'bundler'
5+
directory: '/'
6+
schedule:
7+
interval: 'weekly'
8+
commit-message:
9+
prefix: 'chore(deps)'
10+
groups:
11+
dependencies:
12+
applies-to: version-updates
13+
update-types:
14+
- 'minor'
15+
- 'patch'
16+
- package-ecosystem: 'github-actions'
17+
directory: '/'
18+
schedule:
19+
interval: 'weekly'
20+
commit-message:
21+
prefix: 'chore(deps)'
22+
groups:
23+
dependencies:
24+
applies-to: version-updates
25+
update-types:
26+
- 'minor'
27+
- 'patch'
28+
- package-ecosystem: 'docker'
29+
directory: '/'
30+
schedule:
31+
interval: 'weekly'
32+
commit-message:
33+
prefix: 'chore(deps)'
34+
groups:
35+
dependencies:
36+
applies-to: version-updates
37+
update-types:
38+
- 'minor'
39+
- 'patch'

Diff for: .github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,21 @@ jobs:
1919

2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
2323
with:
2424
fetch-depth: 10
2525

26-
- uses: ruby/setup-ruby@v1
26+
- uses: ruby/setup-ruby@v3
2727
with:
2828
ruby-version: ${{ matrix.ruby }}
2929
bundler-cache: true
3030

31-
- uses: actions/setup-python@v2
31+
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
3232
with:
3333
# This should match lib/github/markups.rb GitHub::Markups::MARKUP_RST
3434
python-version: '3.x'
3535

36-
- uses: actions/cache@v2
36+
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
3737
with:
3838
path: ~/.cache/pip
3939
key: ${{ runner.os }}-pip

0 commit comments

Comments
 (0)