Skip to content

Commit 1e1d482

Browse files
authored
chore(ci): workflow maintenance (#1611)
1 parent 50f649d commit 1e1d482

File tree

6 files changed

+58
-59
lines changed

6 files changed

+58
-59
lines changed

.github/renovate.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"enabled": true,
3+
"schedule": ["before 3am on the first day of the month"],
4+
"extends": ["config:base"],
5+
"unicodeEmoji": true,
6+
"prHourlyLimit": 15,
7+
"labels": ["dependencies"],
8+
9+
"separateMinorPatch": false,
10+
"separateMajorMinor": true,
11+
"major": {
12+
"enabled": false
13+
},
14+
15+
"ruby-version": { "enabled": false },
16+
"ruby": { "enabled": true },
17+
"bundler": { "enabled": true },
18+
"docker": { "enabled": false },
19+
"github-actions": {
20+
"enabled": true,
21+
"fileMatch": ["^\\.github/workflows/.*\\.ya?ml$"]
22+
},
23+
24+
"rangeStrategy": "update-lockfile",
25+
"packageRules": [
26+
{
27+
"groupName": "github actions",
28+
"matchManagers": ["github-actions"],
29+
"matchUpdateTypes": ["major", "minor", "patch"],
30+
"extends": ["helpers:pinGitHubActionDigests"],
31+
"minimumReleaseAge": "14 days"
32+
},
33+
{
34+
"depTypeList": ["peerDependencies"],
35+
"enabled": true,
36+
"rangeStrategy": "replace"
37+
},
38+
{
39+
"depTypeList": ["devDependencies"],
40+
"enabled": true,
41+
"rangeStrategy": "pin"
42+
}
43+
],
44+
45+
"ignoreDeps": ["react-bootstrap", "@nivo/bar"],
46+
47+
"vulnerabilityAlerts": {
48+
"enabled": true,
49+
"labels": ["security"]
50+
}
51+
}

.github/workflows/checks.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ jobs:
5555
apt-get install -y nodejs
5656
5757
- name: Checkout code
58-
uses: actions/checkout@v4
58+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5959

6060
- name: Gem cache
6161
id: cache-bundle
62-
uses: actions/cache@v4
62+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
6363
with:
6464
path: vendor/bundle
6565
key: bundle-${{ hashFiles('**/Gemfile.lock') }}
@@ -84,7 +84,7 @@ jobs:
8484
bundle exec rspec
8585
8686
- name: Setup Node.js
87-
uses: actions/setup-node@v4
87+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
8888
with:
8989
node-version: "20.x"
9090
registry-url: "https://npm.pkg.github.com"
@@ -101,7 +101,7 @@ jobs:
101101

102102
- name: Yarn cache
103103
id: cache-yarn
104-
uses: actions/cache@v4
104+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
105105
with:
106106
path: ${{ steps.yarn-cache-dir.outputs.dir }}
107107
key: yarn-${{ hashFiles('**/yarn.lock') }}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
stale:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/stale@v9
11+
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
1212
with:
1313
# https://github.com/actions/stale?tab=readme-ov-file#all-options
1414
exempt-issue-labels: "neverstale"

.github/workflows/pr-title-lint-check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2222

2323
- name: Load config
2424
id: load_config
@@ -39,7 +39,7 @@ jobs:
3939
echo "Done!"
4040
4141
- name: CI Check Title
42-
uses: amannn/action-semantic-pull-request@v5
42+
uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
4343
# skip if the PR is comming from a forked repository
4444
# reason: the action needs the GITHUB_TOKEN to be able to comment on the PR
4545
# and the secret is not available in forked repositories

renovate.json

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)