Skip to content

Commit 0945c64

Browse files
hcastc00claude
andcommitted
Fix CI: use github-action build for IPFS hash comments on PRs
- Remove build-test job (build-hash serves as both test and hash poster) - Remove pull_request trigger (only push events needed) - Fix command: 'github-action build' instead of 'build github-action build' (the wrong command was calling the build subcommand with provider defaulting to dappnode, causing ENOTFOUND errors; the correct subcommand uses Pinata) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 63a276c commit 0945c64

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,11 @@
11
name: "Main"
22
on:
33
repository_dispatch:
4-
pull_request:
54
push:
65
paths-ignore:
76
- "README.md"
87

98
jobs:
10-
build-test:
11-
runs-on: ipfs-dev-gateway
12-
name: Build test
13-
if: github.event_name == 'pull_request'
14-
steps:
15-
- uses: actions/checkout@v4
16-
- uses: actions/setup-node@v4
17-
with:
18-
node-version: "22"
19-
- run: npx @dappnode/dappnodesdk build --provider http://10.200.200.7:5001 --timeout 1h
20-
219
build-hash:
2210
runs-on: ubuntu-latest
2311
name: Build and post IPFS hash
@@ -27,7 +15,7 @@ jobs:
2715
- uses: actions/setup-node@v4
2816
with:
2917
node-version: "22"
30-
- run: npx @dappnode/dappnodesdk build github-action build --timeout 1h
18+
- run: npx @dappnode/dappnodesdk github-action build
3119
env:
3220
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3321
PINATA_API_KEY: ${{ secrets.PINATA_API_KEY }}

0 commit comments

Comments
 (0)