Skip to content

Commit

Permalink
added label trigger (#576)
Browse files Browse the repository at this point in the history
* added label trigger

* add if condition based on lable
  • Loading branch information
nimboya authored Feb 1, 2022
1 parent 6292e3f commit 35ec668
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/simnode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: Run Simnode

on:
pull_request:
branches:
- releases
- main
types:
- labeled

jobs:
simnode:
Expand Down Expand Up @@ -44,7 +43,7 @@ jobs:
env:
BASE_BRANCH: ${{ github.event.pull_request.base.ref }}
GITHUB_BRANCH_NAME: ${{ steps.branch-name.outputs.current_branch }}

if: contains( github.event.pull_request.labels.*.name, 'needs-benchmarks')
if: env.RUNTIME_CHECK == 1
id: run_simnode
run: .maintain/run_simnode.sh

0 comments on commit 35ec668

Please sign in to comment.