Skip to content

Commit 2b74073

Browse files
committed
misc actions tweaks
Signed-off-by: Liam Stanley <[email protected]>
1 parent f46eda2 commit 2b74073

File tree

4 files changed

+54
-12
lines changed

4 files changed

+54
-12
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: generate-readme
2+
3+
on:
4+
push:
5+
branches: [master]
6+
tags: [v*]
7+
schedule:
8+
- cron: "0 13 * * *"
9+
10+
jobs:
11+
generate:
12+
uses: lrstanley/.github/.github/workflows/generate-readme.yml@master
13+
secrets:
14+
token: ${{ secrets.USER_PAT }}

.github/workflows/release.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,18 @@
11
name: release
22

33
on:
4-
pull_request:
5-
branches: [master, main]
6-
paths-ignore: [".gitignore", "**/*.md", ".github/ISSUE_TEMPLATE/**"]
7-
types: [opened, edited, reopened, synchronize, unlocked]
84
push:
95
branches: [master, main]
106
tags: [v*]
117
paths-ignore: [".gitignore", "**/*.md", ".github/ISSUE_TEMPLATE/**"]
128

139
jobs:
14-
go-test:
15-
uses: lrstanley/.github/.github/workflows/lang-go-test-matrix.yml@master
16-
with: { num-minor: 1, num-patch: 1 }
17-
go-lint:
18-
uses: lrstanley/.github/.github/workflows/lang-go-lint.yml@master
19-
secrets:
20-
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
10+
go-release:
11+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
12+
uses: lrstanley/.github/.github/workflows/lang-go-release.yml@master
13+
with:
14+
upload-artifacts: true
2115
docker-release:
22-
needs: [go-test, go-lint]
2316
uses: lrstanley/.github/.github/workflows/docker-release.yml@master
2417
with:
2518
dockerfile: .github/Dockerfile

.github/workflows/test.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: test
2+
3+
on:
4+
pull_request:
5+
branches: [master]
6+
paths-ignore: [".gitignore", "**/*.md", ".github/ISSUE_TEMPLATE/**"]
7+
types: [opened, edited, reopened, synchronize, unlocked]
8+
push:
9+
branches: [master]
10+
paths-ignore: [".gitignore", "**/*.md", ".github/ISSUE_TEMPLATE/**"]
11+
12+
jobs:
13+
go-test:
14+
uses: lrstanley/.github/.github/workflows/lang-go-test-matrix.yml@master
15+
with:
16+
go-version: latest
17+
go-lint:
18+
uses: lrstanley/.github/.github/workflows/lang-go-lint.yml@master
19+
secrets:
20+
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

.github/workflows/triage.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: triage
2+
3+
on:
4+
pull_request_target:
5+
types: [opened, edited, reopened, synchronize]
6+
issues:
7+
types: [opened, edited, closed, reopened]
8+
issue_comment:
9+
types: [created, edited]
10+
11+
jobs:
12+
triage:
13+
uses: lrstanley/.github/.github/workflows/triage.yml@master
14+
secrets:
15+
token: ${{ secrets.USER_PAT }}

0 commit comments

Comments
 (0)