From ea1788969b410c7e8f2766e84041059f5db6fed5 Mon Sep 17 00:00:00 2001 From: Oleg Kovalov Date: Sun, 12 Nov 2023 16:47:15 +0100 Subject: [PATCH] Update build.yaml (#16) Signed-off-by: Oleg Kovalov --- .github/workflows/build.yaml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index beaa560..c800836 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -6,24 +6,12 @@ on: pull_request: branches: [main] schedule: - - cron: '0 0 * * 0' - workflow_dispatch: - inputs: - tag: - description: 'Tag to create' - required: true - default: 'v0.0.0' + - cron: '0 0 * * 0' # run "At 00:00 on Sunday" # See https://github.com/cristalhq/.github/.github/workflows jobs: build: - uses: cristalhq/.github/.github/workflows/build.yml@518b7d4706840d9725929cf220241de03bd12a94 # v0.6.0 + uses: cristalhq/.github/.github/workflows/build.yml@v0.6.0 vuln: - uses: cristalhq/.github/.github/workflows/vuln.yml@518b7d4706840d9725929cf220241de03bd12a94 # v0.6.0 - - release: - if: github.event_name == 'workflow_dispatch' - uses: cristalhq/.github/.github/workflows/release.yml@518b7d4706840d9725929cf220241de03bd12a94 # v0.6.0 - with: - tag: ${{ github.event.input.tag }} + uses: cristalhq/.github/.github/workflows/vuln.yml@v0.6.0