Skip to content

Commit ae04f34

Browse files
authored
Update CI (#12)
1 parent 74ab126 commit ae04f34

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

.github/dependabot.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
version: 2
22
updates:
3-
- package-ecosystem: gomod
3+
- package-ecosystem: "gomod"
4+
commit-message:
5+
prefix: "deps:"
46
directory: "/"
57
schedule:
6-
interval: daily
7-
- package-ecosystem: github-actions
8+
interval: "weekly"
9+
day: "sunday"
10+
time: "09:00"
11+
- package-ecosystem: "github-actions"
12+
commit-message:
13+
prefix: "ci:"
814
directory: "/"
915
schedule:
10-
interval: daily
16+
interval: "weekly"
17+
day: "sunday"
18+
time: "09:00"

.github/workflows/build.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,14 @@ on:
44
push:
55
branches: [main]
66
pull_request:
7-
workflow_dispatch:
8-
inputs:
9-
tag:
10-
description: 'Tag to create'
11-
required: true
12-
default: 'v0.0.0'
7+
branches: [main]
8+
schedule:
9+
- cron: '0 0 * * 0' # run "At 00:00 on Sunday"
1310

1411
# See https://github.com/cristalhq/.github/.github/workflows
1512
jobs:
1613
build:
17-
uses: cristalhq/.github/.github/workflows/build.yml@main
14+
uses: cristalhq/.github/.github/workflows/build.yml@v0.6.0
1815

19-
release:
20-
if: github.event_name == 'workflow_dispatch'
21-
uses: cristalhq/.github/.github/workflows/release.yml@main
22-
with:
23-
tag: ${{ github.event.input.tag }}
16+
vuln:
17+
uses: cristalhq/.github/.github/workflows/[email protected]

0 commit comments

Comments
 (0)