File tree Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Expand file tree Collapse file tree 2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : pr
2+
3+ on :
4+ pull_request_target :
5+ types :
6+ - opened
7+ - edited
8+ - synchronize
9+ - reopened
10+
11+ jobs :
12+
13+ lint-semantic :
14+ runs-on : ubuntu-latest
15+ permissions :
16+ pull-requests : read
17+ steps :
18+ - uses : amannn/action-semantic-pull-request@v5
19+ env :
20+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : snapshot
2+
3+ on :
4+ push :
5+
6+ jobs :
7+
8+ go-releaser :
9+ runs-on : ubuntu-latest
10+ if : ${{ needs.release-please.outputs.release_created == 'true' }}
11+ steps :
12+
13+ - name : Checkout
14+ uses : actions/checkout@v4
15+ with :
16+ fetch-depth : 0
17+
18+ - name : Set up Go
19+ uses : actions/setup-go@v5
20+ with :
21+ go-version-file : go.mod
22+
23+ - name : Run GoReleaser
24+ uses : goreleaser/goreleaser-action@v6
25+ with :
26+ version : " ~> v2"
27+ args : release --clean --snapshot
28+ env :
29+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments