Skip to content

Commit

Permalink
chore(ci): allow create_twios to run only on workflow_dispatch or sch…
Browse files Browse the repository at this point in the history
…edule
  • Loading branch information
BobrImperator committed Sep 21, 2023
1 parent e1c3bfe commit f5f4a9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/twios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit f5f4a9c

Please sign in to comment.