Skip to content

1 in 2 Probability Executor in Node.js ( 10000000 ) #65693

1 in 2 Probability Executor in Node.js ( 10000000 )

1 in 2 Probability Executor in Node.js ( 10000000 ) #65693

name: 1-in-2-Probability-Executor-in-Node.js
on:
schedule:
- cron: '*/5 * * * *'
workflow_dispatch:
inputs:
Execution_Count:
description: 'Execution Count'
required: false
default: '10000000'
type: string
run-name: 1 in 2 Probability Executor in Node.js ( ${{ github.event.inputs.Execution_Count || '10000000' }} )
concurrency:
group: my-workflow-group
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22.x'
- name: Run script
run: node script.js ${{ github.event.inputs.Execution_Count || '10000000' }}