From 33596505a6d54d87e8389ac3a19ff9a9c21130fa Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Thu, 8 Feb 2024 19:13:09 +0100 Subject: [PATCH] ci: add new flag [skip ci] --- .github/workflows/insider-spearhead.yml | 5 ++++- .github/workflows/stable-spearhead.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/insider-spearhead.yml b/.github/workflows/insider-spearhead.yml index 4155b00..6205235 100644 --- a/.github/workflows/insider-spearhead.yml +++ b/.github/workflows/insider-spearhead.yml @@ -9,6 +9,9 @@ on: force_dispatch: type: boolean description: Force dispatch + dont_update: + type: boolean + description: Don't update VSCode schedule: - cron: '0 7 * * *' @@ -55,7 +58,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }} GITHUB_USERNAME: ${{ github.repository_owner }} - if: env.SHOULD_BUILD == 'yes' + if: env.SHOULD_BUILD == 'yes' && github.event.inputs.dont_update != 'true' - name: Prepare source run: ./prepare_src.sh diff --git a/.github/workflows/stable-spearhead.yml b/.github/workflows/stable-spearhead.yml index f6fb6b6..745025a 100644 --- a/.github/workflows/stable-spearhead.yml +++ b/.github/workflows/stable-spearhead.yml @@ -9,6 +9,9 @@ on: force_dispatch: type: boolean description: Force dispatch + dont_update: + type: boolean + description: Don't update VSCode schedule: - cron: '0 18 * * *' @@ -53,7 +56,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }} GITHUB_USERNAME: ${{ github.repository_owner }} - if: env.SHOULD_BUILD == 'yes' + if: env.SHOULD_BUILD == 'yes' && github.event.inputs.dont_update != 'true' - name: Prepare source run: ./prepare_src.sh