Skip to content

Commit 6dad460

Browse files
authored
Add the cooldown option to GitHub Actions workflow (#3346)
1 parent bc45d51 commit 6dad460

9 files changed

Lines changed: 132 additions & 93 deletions

File tree

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ updates:
55
schedule:
66
interval: daily
77
timezone: Asia/Tokyo
8+
cooldown: 7
89
allow:
910
- dependency-type: all
1011
rebase-strategy: auto
@@ -22,6 +23,9 @@ updates:
2223
schedule:
2324
interval: daily
2425
timezone: Asia/Tokyo
26+
cooldown: 1
27+
exclude:
28+
- 'pnpm'
2529
allow:
2630
- dependency-type: all
2731
rebase-strategy: auto

.github/workflows/auto-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99

1010
jobs:
1111
auto-merge:
12-
if: github.event.pull_request.draft == false
12+
if: ${{ !github.event.pull_request.draft }}
1313

1414
runs-on: ubuntu-latest
1515
steps:

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ on:
99

1010
workflow_dispatch:
1111

12-
permissions: write-all
13-
1412
jobs:
1513
build:
1614
runs-on: ubuntu-latest
@@ -28,7 +26,7 @@ jobs:
2826
with:
2927
node-version: ${{ matrix.node-version }}
3028
check-latest: true
31-
package-manager-cache: pnpm
29+
package-manager-cache: false
3230

3331
- uses: pnpm/action-setup@v4
3432
with:

.github/workflows/e2e.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ on:
99

1010
workflow_dispatch:
1111

12-
permissions: write-all
13-
1412
jobs:
1513
import-test:
1614
runs-on: ubuntu-latest
@@ -29,7 +27,7 @@ jobs:
2927
with:
3028
node-version: ${{ matrix.node-version }}
3129
check-latest: true
32-
package-manager-cache: pnpm
30+
package-manager-cache: false
3331

3432
- uses: pnpm/action-setup@v4
3533
name: Install pnpm

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"keywords": [],
77
"author": "",
88
"license": "ISC",
9-
"packageManager": "pnpm@10.16.1",
9+
"packageManager": "pnpm@10.17.0",
1010
"engines": {
1111
"node": ">=22.0.0"
1212
}

package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"@stylistic/eslint-plugin": "^5.3.1",
4242
"@swc/cli": "^0.7.8",
4343
"@swc/core": "^1.13.5",
44-
"@types/node": "^24.5.2",
44+
"@types/node": "^24.5.1",
4545
"@vitest/coverage-v8": "^3.2.4",
4646
"chokidar": "^4.0.3",
4747
"eslint": "^9.35.0",

0 commit comments

Comments
 (0)