We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ea68b9 commit 0bfeb2fCopy full SHA for 0bfeb2f
.github/workflows/lint.yml .github/workflows/main.yml
@@ -1,4 +1,4 @@
1
-name: lint
+name: main
2
3
on:
4
push:
@@ -21,3 +21,9 @@ jobs:
21
with:
22
token: ${{ secrets.GITHUB_TOKEN }}
23
args: --check .
24
+
25
+ - name: Release
26
+ uses: go-semantic-release/action@v1
27
+ if: github.ref == 'refs/heads/main'
28
+ with:
29
+ github-token: ${{ secrets.GITHUB_TOKEN }}
.github/workflows/pr.yml
@@ -0,0 +1,17 @@
+name: pr
+on:
+ pull_request:
5
+ types:
6
+ - opened
7
+ - edited
8
+ - synchronize
9
10
+jobs:
11
+ main:
12
+ name: Validate PR title
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: amannn/action-semantic-pull-request@v3
16
+ env:
17
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments