Skip to content

Commit

Permalink
fixing issue comment Pr review stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
TieDyedSheep committed Jul 9, 2024
1 parent e494fb5 commit bd4794b
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ on:
branches:
- dev
- main
issue_comment:
inputs:
workflowBranch:
description: 'Branch of the reusable workflow. Defaults to main, select dev for testing only.'
required: true
default: 'main'
type: choice
options:
- dev
- main
workflow_dispatch:
inputs:
workflowBranch:
Expand All @@ -22,11 +32,6 @@ on:
options:
- dev
- main

permissions:
issues: write
pull-requests: write

jobs:
echo-inputs:
name: Repo Workflow Debugging
Expand All @@ -44,6 +49,10 @@ jobs:
ci-dev:
if: ${{ github.event.inputs.workflowBranch == 'dev' }}
uses: shardeum/github-automation/.github/workflows/reusable-node-ci.yml@dev
permissions:
issues: write
pull-requests: write
contents: write
with:
node-version: ${{ vars.NODE_VERSION }}
lint-required: ${{ vars.IS_LINT_REQUIRED == 'true' }}
Expand All @@ -55,6 +64,10 @@ jobs:
ci-main:
if: ${{ github.event.inputs.workflowBranch == 'main' || !github.event.inputs.workflowBranch }}
uses: shardeum/github-automation/.github/workflows/reusable-node-ci.yml@main
permissions:
issues: write
pull-requests: write
contents: write
with:
node-version: ${{ vars.NODE_VERSION }}
lint-required: ${{ vars.IS_LINT_REQUIRED == 'true' }}
Expand Down

0 comments on commit bd4794b

Please sign in to comment.