Skip to content

Commit e254bff

Browse files
authored
Update CI (#22)
1 parent 203d3b8 commit e254bff

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.github/workflows/build.yml

+6-12
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.5.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)