Skip to content

Commit 3ac21b4

Browse files
authored
ci: external PR support
1 parent 108914b commit 3ac21b4

File tree

2 files changed

+28
-3
lines changed

2 files changed

+28
-3
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Build And Push
22

33
on:
4-
pull_request:
5-
branches:
6-
- master
74
push:
85
branches:
96
- master

.github/workflows/pr.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build And Push
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
8+
9+
permissions:
10+
contents: write
11+
pull-requests: write
12+
packages: write
13+
14+
jobs:
15+
goreleaser:
16+
runs-on: ubuntu-latest
17+
steps:
18+
-
19+
name: Checkout
20+
uses: actions/checkout@v4
21+
-
22+
name: Set up Go
23+
uses: actions/setup-go@v5
24+
with:
25+
go-version: '1.23.10'
26+
-
27+
name: Build
28+
run: make build

0 commit comments

Comments
 (0)