Skip to content

Commit 0532084

Browse files
authored
Merge pull request #1349 from mackerelio/dependabot-cooldown
added dependabot cooldown
2 parents 2eb134a + f0d6155 commit 0532084

3 files changed

Lines changed: 25 additions & 13 deletions

File tree

.github/dependabot.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ updates:
77
- "/mackerel-plugin-mysql"
88
- "/mackerel-plugin-json"
99
schedule:
10-
interval: weekly
10+
interval: daily
1111
time: "01:00"
1212
timezone: Asia/Tokyo
1313
open-pull-requests-limit: 10
@@ -22,9 +22,21 @@ updates:
2222
patterns:
2323
- "github.com/aws/aws-sdk-go-v2"
2424
- "github.com/aws/aws-sdk-go-v2/*"
25+
cooldown:
26+
default-days: 5
27+
include:
28+
- "*"
29+
exclude:
30+
- "github.com/mackerelio/*"
31+
- "github.com/aws/aws-sdk-go-v2"
32+
- "github.com/aws/aws-sdk-go-v2/*"
2533
- package-ecosystem: github-actions
2634
directory: "/"
2735
schedule:
28-
interval: weekly
36+
interval: daily
2937
time: "01:00"
3038
timezone: Asia/Tokyo
39+
cooldown:
40+
default-days: 5
41+
include:
42+
- "*"

.github/workflows/create-release-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
create:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v5
18+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1919

20-
- uses: shogo82148/actions-setup-perl@v1
20+
- uses: shogo82148/actions-setup-perl@5796a908661aa68fc0a5b8f55c6791af2376d72e # v1.35.0
2121
with:
2222
perl-version: "5.34"
2323

.github/workflows/test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,22 @@ env:
1212
DEBIAN_FRONTEND: noninteractive
1313
jobs:
1414
lint:
15-
uses: mackerelio/workflows/.github/workflows/go-lint.yml@v1.5.0
15+
uses: mackerelio/workflows/.github/workflows/go-lint.yml@c7e130d3908894f18068ca4a877e80539b535881 # v1.5.0
1616
with:
1717
os-versions: '["ubuntu-latest", "windows-2025"]'
1818
test:
19-
uses: mackerelio/workflows/.github/workflows/go-test.yml@v1.5.0
19+
uses: mackerelio/workflows/.github/workflows/go-test.yml@c7e130d3908894f18068ca4a877e80539b535881 # v1.5.0
2020
with:
2121
os-versions: '["ubuntu-latest", "windows-2025"]'
2222
integration-test-linux:
23-
uses: mackerelio/workflows/.github/workflows/setup-go-matrix.yml@v1.5.0
23+
uses: mackerelio/workflows/.github/workflows/setup-go-matrix.yml@c7e130d3908894f18068ca4a877e80539b535881 # v1.5.0
2424
with:
2525
os-versions: '["ubuntu-latest"]'
2626
run: |
2727
make testconvention
2828
./test.bash
2929
integration-test-windows:
30-
uses: mackerelio/workflows/.github/workflows/setup-go-matrix.yml@v1.5.0
30+
uses: mackerelio/workflows/.github/workflows/setup-go-matrix.yml@c7e130d3908894f18068ca4a877e80539b535881 # v1.5.0
3131
with:
3232
os-versions: '["windows-2025"]'
3333
run: |
@@ -42,14 +42,14 @@ jobs:
4242
sudo apt-get update
4343
sudo apt-get install -y rpm devscripts debhelper fakeroot crossbuild-essential-arm64 build-essential
4444
mkdir -p ~/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
45-
- uses: actions/checkout@v5
45+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4646
with:
4747
fetch-depth: 0
48-
- uses: actions/setup-go@v6
48+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
4949
with:
5050
go-version: 1.24.x
5151
- run: make clean rpm deb tar
52-
- uses: actions/upload-artifact@v4
52+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
5353
with:
5454
name: linux-build-artifacts
5555
path: |
@@ -62,7 +62,7 @@ jobs:
6262
runs-on: ubuntu-latest
6363
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')
6464
steps:
65-
- uses: actions/download-artifact@v5
65+
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
6666
with:
6767
name: linux-build-artifacts
6868
path: artifacts/
@@ -79,7 +79,7 @@ jobs:
7979
github-token: ${{ secrets.GITHUB_TOKEN }}
8080
tag-prefix: "refs/tags/v"
8181
bump-up-branch-prefix: "bump-version-"
82-
- uses: 8398a7/action-slack@v3
82+
- uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0
8383
with:
8484
status: ${{ job.status }}
8585
fields: repo,message,commit,action,eventName,ref,workflow,job,took

0 commit comments

Comments
 (0)