Skip to content

Commit 70b7cb8

Browse files
committed
ci: remove workflow dispatch
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
1 parent b655c9f commit 70b7cb8

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/generate.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
- "cmd/*"
1111
- "internal/cmd/*"
1212
- "files/*"
13+
release:
14+
types:
15+
- published
1316
workflow_dispatch:
1417
permissions:
1518
contents: read

.github/workflows/release.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@ permissions:
1111
packages: write
1212

1313
jobs:
14-
trigger-generate:
15-
runs-on: ubuntu-latest
16-
needs: goreleaser
17-
steps:
18-
- uses: benc-uk/workflow-dispatch@31e2b3319479a63f0ab15bf800eff9e913504e26 # v1.3.2
19-
with:
20-
ref: main
21-
token: ${{ secrets.GH_PAT }}
22-
workflow: generate.yml
2314
goreleaser:
2415
runs-on: ubuntu-latest
2516
env:

0 commit comments

Comments
 (0)