Skip to content

Commit a341c19

Browse files
committed
fix: fix pipeline
1 parent 4df4892 commit a341c19

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
- name: Dagger Go Flow
1919
uses: dagger/dagger-for-github@v7
2020
env:
21-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2222
with:
2323
version: "latest"
2424
verb: call
2525
module: dagger
26-
args: test-and-release --source=. --token=env://GH_TOKEN
26+
args: test-and-release --source=. --token=env://GITHUB_TOKEN
2727

dagger/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func (m *Dagger) Release(
3838
WithExec([]string{"npm", "install", "--save-dev", "@semantic-release/git"}).
3939
WithExec([]string{"npm", "install", "--save-dev", "@semantic-release/changelog"}).
4040
WithExec([]string{"npm", "install", "--save-dev", "conventional-changelog-conventionalcommits"}).
41-
WithExec([]string{"npx", "semantic-release", "--dry-run"}).
41+
WithExec([]string{"npx", "semantic-release", "--no-ci"}).
4242
Stdout(ctx)
4343
}
4444

0 commit comments

Comments
 (0)