From f5f4a9cf2483c153a97fec62021d4f6923655d9a Mon Sep 17 00:00:00 2001 From: BobrImperator Date: Thu, 21 Sep 2023 14:59:55 +0200 Subject: [PATCH] chore(ci): allow create_twios to run only on workflow_dispatch or schedule --- .github/workflows/twios.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/twios.yaml b/.github/workflows/twios.yaml index 5109d7ceb4..9ed209f87a 100644 --- a/.github/workflows/twios.yaml +++ b/.github/workflows/twios.yaml @@ -3,7 +3,7 @@ on: # Every Sunday 23:00 - cron: '0 23 * * 0' pull_request: - types: [labeled, unlabeled] + types: [unlabeled] issue_comment: types: [edited] workflow_dispatch: @@ -19,7 +19,7 @@ permissions: jobs: create_twios: runs-on: ubuntu-latest - if: ${{!github.event.pull_request.body}} + if: ${{!github.event.pull_request.body && github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'}} steps: - uses: actions/checkout@v3 - uses: volta-cli/action@d253558a6e356722728a10e9a469190de21a83ef # v4