Skip to content

Commit 1173b6d

Browse files
committed
fix(ci): lockfile regeneration on Dependabot PRs
1 parent 0483787 commit 1173b6d

7 files changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/contracts-examples.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ env:
2121

2222
jobs:
2323
build-examples:
24+
# Skip initial Dependabot PR run - will re-run after lockfile update
25+
if: github.actor != 'dependabot[bot]' || github.event.action == 'synchronize'
2426
runs-on: ubuntu-latest
2527

2628
defaults:

.github/workflows/contracts.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ env:
2222

2323
jobs:
2424
build-contracts:
25+
# Skip initial Dependabot PR run - will re-run after lockfile update
26+
if: github.actor != 'dependabot[bot]' || github.event.action == 'synchronize'
2527
runs-on: ubuntu-latest
2628

2729
defaults:

.github/workflows/dependabot-lockfile.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
node-version-file: "package.json"
3030
cache: "pnpm"
3131

32+
- name: Install Foundry
33+
uses: foundry-rs/foundry-toolchain@v1
34+
3235
- name: Update lockfile
3336
run: pnpm install --no-frozen-lockfile
3437

.github/workflows/explorer-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ concurrency:
1919

2020
jobs:
2121
build-explorer:
22+
# Skip initial Dependabot PR run - will re-run after lockfile update
23+
if: github.actor != 'dependabot[bot]' || github.event.action == 'synchronize'
2224
runs-on: ubuntu-latest
2325

2426
defaults:

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ concurrency:
1919

2020
jobs:
2121
lint:
22+
# Skip initial Dependabot PR run - will re-run after lockfile update
23+
if: github.actor != 'dependabot[bot]' || github.event.action == 'synchronize'
2224
runs-on: ubuntu-latest
2325
steps:
2426
- name: Check out the repo

.github/workflows/sdk.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ concurrency:
1919

2020
jobs:
2121
unit-test-sdk:
22+
# Skip initial Dependabot PR run - will re-run after lockfile update
23+
if: github.actor != 'dependabot[bot]' || github.event.action == 'synchronize'
2224
runs-on: ubuntu-latest
2325

2426
defaults:
@@ -72,6 +74,8 @@ jobs:
7274
echo "✅ Coverage not uploaded to Codecov" >> $GITHUB_STEP_SUMMARY
7375
7476
integration-test-sdk:
77+
# Skip initial Dependabot PR run - will re-run after lockfile update
78+
if: github.actor != 'dependabot[bot]' || github.event.action == 'synchronize'
7579
runs-on: ubuntu-latest
7680

7781
defaults:

.github/workflows/subgraph.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ concurrency:
1919

2020
jobs:
2121
test-subgraph:
22+
# Skip initial Dependabot PR run - will re-run after lockfile update
23+
if: github.actor != 'dependabot[bot]' || github.event.action == 'synchronize'
2224
runs-on: ubuntu-22.04
2325

2426
defaults:

0 commit comments

Comments
 (0)